Garry's Mod Wiki

Revision Difference

Enums/SND#561061

<enum> <realm>Shared</realm> <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_VOL" value="1">Change sound volume</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_PHONEMES" value="256">If the sound has any associated phoneme (character lip-sync) data, ignore it.</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>⤶ <item key="SND_DO_NOT_OVERWRITE_EXISTING_ON_CHANNEL" value="1024">Unused/legacy; does nothing.</item>⤶ </items> </enum>