Garry's Mod Wiki

Revision Difference

Enums/SND#516114

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