This article's documentation is for Source 2. Click here for more information.

Point hlvr player input modifier: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (→‎Inputs: Substituted IO templates)
 
Line 8: Line 8:
== Inputs ==
== Inputs ==
{{ScrollBox|title=HL:A VScript|
{{ScrollBox|title=HL:A VScript|
{{IO|CallPrivateScriptFunction|param=string|Calls a script function from this entity's private script scope.}}
{{I|CallPrivateScriptFunction|param=string|Calls a script function from this entity's private script scope.}}
{{IO|CallGlobalScriptFunction|param=string|Calls a script function in the global script scope.}}
{{I|CallGlobalScriptFunction|param=string|Calls a script function in the global script scope.}}
}}
}}
{{I Targetname}}
{{I Targetname}}

Latest revision as of 11:12, 21 April 2025

point_hlvr_player_input_modifier is a point entity available in Half-Life: Alyx Half-Life: Alyx. It can suppres player teleport and/or input.

Keyvalues

Disable teleportation (disable_teleport) ([todo internal name (i)]) <boolean>
Disables player teleport mechanics, head-fading, and falling/mantling mechanics
Hide hands (hide_hands) ([todo internal name (i)]) <boolean>
Hides hands (and weapons, items, etc.) and disables hand inputs (Also disabled telportation!
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

HL:A 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