SetSoundFlag

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets a Sound's flag value (determined by flagID).

Syntax

[help]
(flagValue:0/1) SetSoundFlag sound:ref flagID:int{0-13} newValue:0/1

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

SetSoundFlag EMTMedicalBeep01 6 1 

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

See Also