player_weaponstrip

From Sven Co-op
Revision as of 17:07, 24 March 2023 by Outerbeast (talk | contribs) (Descriptions for each m_iAffected choice)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
player_weaponstrip
Type

point

Status

supported

 


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

1 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.

2 Flags

1 : Strip suit, too

(Also) remove HEV suit.