Trigger active weapon detect: Difference between revisions
Jump to navigation
Jump to search

m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CTriggerActiveWeaponDetect}} | <!-- When this page is updated to {{langsp}} or {{language subpage}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{CD|CTriggerActiveWeaponDetect}} | ||
{{this is a| | {{this is a|brush entity|name=trigger_active_weapon_detect|game=Left 4 Dead 2}} It fires an output when touched by a player that has a specific weapon active. | ||
== Keyvalues == | == Keyvalues == |
Revision as of 17:53, 17 May 2024


![]() |
---|
CTriggerActiveWeaponDetect |
trigger_active_weapon_detect
is a brush entity available in 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