- Found in:
- Vanilla
Description
Wiki Description
Plays the sound from the location of the specified object reference, and waits for the sound to finish playing. This function is latent.
Documentation Comment
Play this sound from the specified source, and wait for it to finish
Caveats
Parameters
Examples
if gunFire.PlayAndWait(fighterJet)
Debug.Trace("Gunfire has finished playing!")
else
Debug.Trace("Gunfire failed to play")
endIfAuto-Generated Example
ObjectReference myObjectReference__akSource
bool returnedValue = mySound__toCallFunctionOn.PlayAndWait(myObjectReference__akSource)Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
