Garry's Mod Wiki

Revision Difference

Enums/SND#516437

<cat>enum</cat> <enum> <description>Sound flags used by <page>Global.EmitSound</page> and <page>Entity:EmitSound</page>.</description> <items> <item key="SND_NOFLAGS" value="0">To keep the compiler happy</item>⤶ <item key="SND_CHANGE_VOL" value="1">Change sound vol</item>⤶ <item key="SND_CHANGE_PITCH" value="2">Change sound pitch</item>⤶ <item key="SND_STOP" value="4">Stop the sound</item>⤶ <item key="SND_SPAWNING" value="8">We're spawning, used in some cases for ambients. Not sent over net, only a param between dll and server.</item>⤶ <item key="SND_DELAY" value="1">6|Sound has an initial delay</item>⤶ <item key="SND_STOP_LOOPING" value="3">2|Stop all looping sounds on the entity.</item>⤶ <item key="SND_SHOULDPAUSE" value="1">28|This sound should be paused if the game is paused</item>⤶ <item key="SND_IGNORE_PHONEMES" value="2">56|</item>⤶ <item key="SND_IGNORE_NAME" value="5">12|Used to change all sounds emitted by an entity, regardless of scriptname</item>⤶ <item key="SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL" value="1">024|</item>⤶ <item key="SND_NOFLAGS" value="0|To keep the compiler happy"></item>⤶ <item key="SND_CHANGE_VOL" value="1|Change sound vol"></item>⤶ <item key="SND_CHANGE_PITCH" value="2|Change sound pitch"></item>⤶ <item key="SND_STOP" value="4|Stop the sound"></item>⤶ <item key="SND_SPAWNING" value="8|We're spawning, used in some cases for ambients. Not sent over net, only a param between dll and server."></item>⤶ <item key="SND_DELAY" value="16|Sound has an initial delay"></item>⤶ <item key="SND_STOP_LOOPING" value="32|Stop all looping sounds on the entity."></item>⤶ <item key="SND_SHOULDPAUSE" value="128|This sound should be paused if the game is paused"></item>⤶ <item key="SND_IGNORE_PHONEMES" value="256|"></item>⤶ <item key="SND_IGNORE_NAME" value="512|Used to change all sounds emitted by an entity, regardless of scriptname"></item>⤶ <item key="SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL" value="1024|"></item>⤶ </items> </enum>