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

Point training gravity gloves: 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.)
(Fix the page using deprecated templates that aren't fully relevant to Source 2 games)
Line 7: Line 7:
{{IO|Enable|Enable.}}
{{IO|Enable|Enable.}}
{{IO|OnComplete|Fired when the training is over.}}
{{IO|OnComplete|Fired when the training is over.}}
{{ScrollBox|title=VScript|
{{I BaseEntity (Source 2)}}
{{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.}}
}}
{{I Targetname}}


== Outputs ==
== Outputs ==
{{O Targetname}}
{{O BaseEntity|s2=1}}

Revision as of 11:57, 19 June 2024

point_training_gravity_gloves is a point entity available in Half-Life: Alyx Half-Life: Alyx. It is an entity that helps with the gravity glove training.

Keyvalues

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

Enable
Enable.
OnComplete
Fired when the training is over.

Base:

RunScriptFile
Load and execute a script file.
RunScriptCode
Execute a fragment of script code.
CallScriptFunction
Call a script function.
CallPrivateScriptFunction
Calls a script function from this entity's private script scope.
CallGlobalScriptFunction
Calls a script function in the global script scope.
Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput
Adds an entity I/O connection to this entity. Parameter format: OutputName→TargetName→InputName→Parameter→Delay→MaxRefires
FireUser1 to FireUser4
Fires the respectiveOnUseroutputs; see User Inputs and Outputs.

Outputs