Garry's Mod Wiki

Revision Difference

Enums/CHAN#514559

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>Global.EmitSound</page> and <page>sound.Add</page>.</description>⤶ <fields>{{EnumField|CHAN_REPLACE|-1|Used when playing sounds through console commands.</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|CHAN_AUTO|0|Automatic channel}}⤶ {{EnumField|CHAN_WEAPON|1|Channel for weapon sounds}}⤶ {{EnumField|CHAN_VOICE|2|Channel for NPC voices}}⤶ {{EnumField|CHAN_ITEM|3|Channel for items ( Health kits, etc )}}⤶ {{EnumField|CHAN_BODY|4|Clothing, ragdoll impacts, footsteps, knocking/pounding/punching etc.}}⤶ {{EnumField|CHAN_STREAM|5|Stream channel from the static or dynamic area}}⤶ {{EnumField|CHAN_STATIC|6|A constant/background sound that doesn't require any reaction.}}⤶ {{EnumField|CHAN_VOICE2|7|TF2s Announcer dialogue channel}}⤶ {{EnumField|CHAN_VOICE_BASE|8|Channel for network voice data}}⤶ {{EnumField|CHAN_USER_BASE|136}}⤶ }}