12-Jul-2023
Removes all weapons and ammo from player. It's possible to also remove HEV suit.
Keyvalues |
OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.
Name targetname : Set name of player_weaponstrip so other entities can trigger it to remove player's weapons. Every trigger use-type works uniformly. Can be kill-targeted.
Players to strip m_iAffected : Allows to change which players will be affected by player_weaponstrip.
1 : Strip suit, too : (Also) remove HEV suit.