Template:I BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Reformatted to use IO templates, added to Input Templates category)
Line 1: Line 1:
{{ScrollBox|title=BaseVehicle|noscroll=true|
{{ScrollBox|title=BaseVehicle|noscroll=true|
; <code>Action <[[float]]></code>
{{IO|Action|param=float|Set the speed of the action animation. {{todo|What does this mean?}}}}
: Set the speed of the action animation. {{todo|What does this mean?}}
{{IO|TurnOn|Start engine and enable throttle.}}
; <code>TurnOn</code>
{{IO|TurnOff|Stop engine, disable throttle, engage brakes.}}
: Start engine and enable throttle.
{{IO|Lock}}
; <code>TurnOff</code>
{{IO|Unlock|Prevent/allow the player from entering ''or exiting'' the vehicle.}}
: Stop engine, disable throttle, engage brakes.
; <code>Lock</code>
; <code>Unlock</code>
: Prevent/allow the player from entering ''or exiting'' the vehicle.
{{I Targetname}}
{{I Targetname}}
}}
}}<noinclude>
[[Category:Input Templates|BaseVehicle]]
</noinclude>

Revision as of 18:29, 23 January 2020

BaseVehicle:
Action <float>
Set the speed of the action animation.
Todo: What does this mean?
TurnOn
Start engine and enable throttle.
TurnOff
Stop engine, disable throttle, engage brakes.
Lock
Unlock
Prevent/allow the player from entering or exiting the vehicle.