Player weaponstrip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎Inputs: - added Note.)
Line 13: Line 13:
* '''StripWeaponsAndSuit'''
* '''StripWeaponsAndSuit'''
: Strip player's weapons and his suit
: Strip player's weapons and his suit
{{note|Unless modified, Strip and StripWeaponAndSuit only work if in a single-player game, or where the player fills the role of !Activator.  That being said, for multiplayer utilization, consider using a [[trigger_once]] or [[trigger_multiple]] to activate these inputs.}}


== Outputs ==
== Outputs ==

Revision as of 14:52, 20 July 2010

Template:Wrongtitle

Entity description

Strips the player of weapons, or weapons and suit. This entity does NOT function properly in Portal. Use trigger_weaponstrip instead.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

  • Strip
Strip player's weapons
  • StripWeaponsAndSuit
Strip player's weapons and his suit
Note.pngNote:Unless modified, Strip and StripWeaponAndSuit only work if in a single-player game, or where the player fills the role of !Activator. That being said, for multiplayer utilization, consider using a trigger_once or trigger_multiple to activate these inputs.

Outputs