Player weaponstrip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (And that's the correct spelling)
(Reformat)
Line 1: Line 1:
{{wrongtitle|title=player_weaponstrip}}
{{hl2 point|player_weaponstrip}} It strips the player of his/her weapons and/or suit.


== Entity description ==
{{bug|This entity does NOT function properly in Portal. Use [[trigger_weapon_strip]] instead.}}
Strips the player of his/her weapons and/or suit. This entity does NOT function properly in Portal. Use [[trigger_weapon_strip]] instead.


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV Targetname}}


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{IO|Strip|Strip player's weapons}}
* '''Strip'''
{{IO|StripWeaponsAndSuit|Strip player's weapons and his suit
: Strip player's weapons
{{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.}}}}
* '''StripWeaponsAndSuit'''
{{I Targetname}}
: 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 ==
* {{O Targetname}}
{{O Targetname}}
 
[[Category:Entities]]

Revision as of 07:48, 12 August 2011

Template:Hl2 point It strips the player of his/her weapons and/or suit.

Icon-Bug.pngBug:This entity does NOT function properly in Portal. Use trigger_weapon_strip instead.  [todo tested in ?]

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