point_hlvr_strip_player

From Valve Developer Community
Revision as of 17:40, 5 January 2024 by Pee (talk | contribs)
Jump to navigation Jump to search

point_hlvr_strip_player is a point entity available in Half-Life: Alyx Half-Life: Alyx. It is used to remove the player's weapons, akin to the weapon strippers in Half-Life 2.

Keyvalues

Enable Physics Delay (EnablePhysicsDelay) ([todo internal name (i)]) <float>
Delay before the stripped items enable their physics collision and can be affected by triggers.
Dissolve Items Delay (DissolveItemsDelay) ([todo internal name (i)]) <float>
Delay before the stripped items are dissolved.
Item Velocity (ItemVelocity) ([todo internal name (i)]) <float>
The velocity of the items as they exit the player.
Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Entity Scripts (vscripts) <scriptlist> (in all games since Left 4 Dead 2)
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.

Inputs

StripPlayer
Strips the player.
StripPlayerQuiet
Strips the player.
VScript:
CallPrivateScriptFunction <stringRedirectInput/string>
Calls a script function from this entity's private script scope.
CallGlobalScriptFunction <stringRedirectInput/string>
Calls a script function in the global script scope.


Outputs