PlayAndWait - Sound

From Creation Kit
Revision as of 2011-11-11T14:54:02 by Scornett (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Member of: Sound Script

Plays the sound from the location of the specified object reference, and waits for the sound to finish playing. This function is latent.

Contents

Syntax

bool Function PlayAndWait(ObjectReference akSource) native

Parameters

Return Value

True if the sound was successfully played.

Examples

if gunFire.PlayAndWait(fighterJet)
    Debug.Trace("Gunfire has finished playing!")
else
    Debug.Trace("Gunfire failed to play")
endIf

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
coming
coming
coming
coming