Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

trigger_active_weapon_detect

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png
class hierarchy
CTriggerActiveWeaponDetect
CBaseTrigger
CBaseToggle
CBaseEntity

trigger_active_weapon_detect is a brush entity available in Left 4 Dead 2 Left 4 Dead 2. It fires an output when touched by a player that has a specific weapon active.

Keyvalues

Weapon To Detect (weaponclassname) <string>
weapon classname that player must have active

Outputs

OnTouchedActiveWeapon
Touched a player who has our weapon active