GetSoundFlag
From GECK
A function added by the JIP NVSE Plugin.
Description
Returns a Sound's flag value (determined by flagID).
Syntax
(flagValue:0/1) GetSoundFlag sound:ref flagID:int{0-13}
Sound Flag IDs
0 Random Frequency Shift 1 Play At Random 2 Environment Ignored 3 Random Location 4 Loop 5 Menu Sound 6 2D 7 360 LFE 8 Dialogue Sound 9 Envelope Fast 10 Envelope Slow 11 2D Radius 12 Mute When Submerged 13 Start at Random Position
Example
GetSoundFlag EMTMedicalBeep01 6
Note
- If changing a sound in a persistent REF used in a script, it must be disabled and re-enabled for the changes to take effect