Player weaponstrip: Difference between revisions

From Sven Co-op
Jump to navigation Jump to search
Import of converted entguide pages from Sven Manor.
 
Outerbeast (talk | contribs)
m Descriptions for each m_iAffected choice
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
}}
}}


Removes all weapons and ammo from player. It's possible to also remove HEV suit.Keyvalues
Removes all weapons and ammo from player. It's possible to also remove HEV suit.


{{Entity_keyvalue|Players to strip|m_iAffected|Allows to change which players will be affected by player_weaponstrip.}}
== Keyvalues ==
 
{{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 ==


{{Entity_flag|4|Strip suit, too|(Also) remove HEV suit.}}
{{Entity_flag|1|Strip suit, too|(Also) remove HEV suit.}}


{{entity_title}}
{{entity_title}}

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:

  • 0 Activator only: strip only !activator of the script e.g. player who pressed a button that targeted this entity.
  • 1 All players: strip everyone on map.
  • 2 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

1 : Strip suit, too

(Also) remove HEV suit.