Player weaponstrip: Difference between revisions
Jump to navigation
Jump to search
Outerbeast (talk | contribs) mNo edit summary |
Outerbeast (talk | contribs) m Descriptions for each m_iAffected choice |
||
| Line 7: | Line 7: | ||
== Keyvalues == | == Keyvalues == | ||
{{Entity_keyvalue|Players to strip|m_iAffected|Allows to change which players will be affected by player_weaponstrip.}} | {{Entity_keyvalue|Players to strip|m_iAffected|Allows to change which players will be affected by player_weaponstrip. | ||
<br>Options are: | |||
* <code>0</code> Activator only: strip only !activator of the script e.g. player who pressed a button that targeted this entity. | |||
* <code>1</code> All players: strip everyone on map. | |||
* <code>2</code> All players except activator: strip everyone except the !activator of the script- e.g. strip everyone except player who pressed a button that targeted this entity.}} | |||
== Flags == | == Flags == | ||
Latest revision as of 17:07, 24 March 2023
| player_weaponstrip | |
|---|---|
| Type |
point |
| Status |
supported |
Removes all weapons and ammo from player. It's possible to also remove HEV suit.
Keyvalues
Players to strip : m_iAffected
Allows to change which players will be affected by player_weaponstrip.
Options are:
0Activator only: strip only !activator of the script e.g. player who pressed a button that targeted this entity.1All players: strip everyone on map.2All players except activator: strip everyone except the !activator of the script- e.g. strip everyone except player who pressed a button that targeted this entity.
Flags
1 : Strip suit, too
(Also) remove HEV suit.