Point hlvr strip player: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Source2 point multi|point_hlvr_strip_player|game1 = Half-Life: Alyx}} It is used to strip the HLVR player. == Keyvalues == {{KV|Enable Physics Delay (EnablePhysicsDelay)|fl...") |
m (Not just weapons) |
||
Line 1: | Line 1: | ||
{{Source2 point multi|point_hlvr_strip_player|game1 = Half-Life: Alyx}} It is used to strip the HLVR player. | {{Source2 point multi|point_hlvr_strip_player|game1 = Half-Life: Alyx}} It is used to strip weapons from the HLVR player. | ||
== Keyvalues == | == Keyvalues == | ||
Line 8: | Line 8: | ||
== Inputs == | == Inputs == | ||
{{IO|StripPlayer|Strips | {{IO|StripPlayer|Strips the player.}} | ||
{{IO|StripPlayerQuiet|Strips | {{IO|StripPlayerQuiet|Strips the player.}} | ||
{{ScrollBox|title=VScript| | {{ScrollBox|title=VScript| | ||
{{IO|RunScriptFile|param=string|Load and execute a script file.}} | {{IO|RunScriptFile|param=string|Load and execute a script file.}} |
Revision as of 14:21, 12 July 2020
Template:Source2 point multi It is used to strip weapons from the HLVR player.
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
)
- 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:
- RunScriptFile <string >
- Load and execute a script file.
- RunScriptCode <string >
- Execute a fragment of script code.
- CallScriptFunction <string >
- Call a script function.
- CallPrivateScriptFunction <string >
- Calls a script function from this entity's private script scope.
- CallGlobalScriptFunction <string >
- Calls a script function in the global script scope.