Point hlvr player input modifier: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Source2 point multi|point_hlvr_player_input_modifier|game1 = Half-Life: Alyx}} It can suppres player teleport and/or input. == Keyvalues == {{KV|Disable teleportation (disa...")
 
m (Remove duplicate inputs)
Line 7: Line 7:


== Inputs ==
== Inputs ==
 
{{ScrollBox|title=HL:A VScript|
{{ScrollBox|title=VScript|
{{IO|RunScriptFile|param=string|Load and execute a script file.}}
{{IO|RunScriptCode|param=string|Execute a fragment of script code.}}
{{IO|CallScriptFunction|param=string|Call a script function.}}
{{IO|CallPrivateScriptFunction|param=string|Calls a script function from this entity's private script scope.}}
{{IO|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.}}
{{IO|CallGlobalScriptFunction|param=string|Calls a script function in the global script scope.}}

Revision as of 13:14, 19 July 2020

Template:Source2 point multi 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