Trigger weapon strip: Difference between revisions
Jump to navigation
Jump to search

Note:weapon_bugbait is always deleted, even if "Kill weapons" is set to "No".
In code, it is represented by the
mNo edit summary |
|||
Line 7: | Line 7: | ||
* Dropped weapons cannot be picked up again. | * Dropped weapons cannot be picked up again. | ||
* If "Kill weapons" is set to "Yes", the player's weapons simply disappear; they are not dropped. | * If "Kill weapons" is set to "Yes", the player's weapons simply disappear; they are not dropped. | ||
{{note|[[weapon_bugbait]] is always deleted, even if "Kill weapons" is set to "No".}} | |||
{{code class|CTriggerWeaponStrip|hl2_dll\hl2_triggers.cpp}} | {{code class|CTriggerWeaponStrip|hl2_dll\hl2_triggers.cpp}} |
Revision as of 17:58, 27 February 2023


Entity description
A brush entity trigger that makes the player drop all of their weapons.
- Dropped weapons cannot be picked up again.
- If "Kill weapons" is set to "Yes", the player's weapons simply disappear; they are not dropped.


CTriggerWeaponStrip
class, defined in thehl2_dll\hl2_triggers.cpp
file.
Keyvalues
|
Flags
|
Inputs
|
Outputs
|
See also
- Player_weaponstrip - A Similar point entity.