Point training gravity gloves: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Remove duplicate inputs)
Line 8: Line 8:
{{IO|OnComplete|Fired when the training is over.}}
{{IO|OnComplete|Fired when the training is over.}}
{{ScrollBox|title=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 09:19, 15 July 2020

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