trigger_active_weapon_detect
Jump to navigation
Jump to search
Code classes:
CTriggerActiveWeaponDetect
CBaseTrigger
(triggers)CBaseToggle
CBaseEntity
(all ents)
trigger_active_weapon_detect
is a brush entity present in Left 4 Dead 2. It detects when a player in its volume is holding a certain weapon in their hands.
Keyvalues[edit | edit source]
- Weapon To Detect
(weaponclassname)
<string>
- Classname of the weapon to look for.
Outputs[edit | edit source]
- OnTouchedActiveWeapon
- Fires when a player holding the weapon starts touching the trigger or switched to the weapon while already in the trigger.