IsSoundPlaying

From the Fallout3 GECK Wiki
Revision as of 11:47, 20 May 2016 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns 1 if the specified '''Sound''' is currently being played by the passed <i>objectRef</i> (optional) or, if the latter was not spec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns 1 if the specified Sound is currently being played by the passed objectRef (optional) or, if the latter was not specified, by ANY object.

Syntax

[help]
(soundPlaying:0/1) IsSoundPlaying sound:ref objectRef:ref

Example

set bSoundPlaying to IsSoundPlaying EMTMedicalBeep01
set bSoundPlaying to IsSoundPlaying NPCBarkScorpionClaws vGSBarkScorp01Ref

See Also