Template:I BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎top: Substituted IO templates)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{ScrollBox|title=BaseVehicle|
<noinclude>{{tip|Put <code>{{!}}base{{=}}1</code> when calling this template to have it show the Src13 version of the template instead of the AS version.}}</noinclude>
; <code>Action <[[float]]></code>
{{ScrollBox|title=BaseVehicle|noscroll=true|
: Set the speed of the action animation. {{todo|What does this mean?}}
{{I|Action|param=float|Set the speed of the action animation. {{todo|What does this mean?}}}}
; <code>TurnOn</code>
{{I|TurnOn|Start engine and enable throttle.}}
: Start engine and enable throttle.
{{I|TurnOff|Stop engine, disable throttle, engage brakes.}}
; <code>TurnOff</code>
{{I|Lock}}
: Stop engine, disable throttle, engage brakes.
{{I|Unlock|Prevent/allow the player from entering ''or exiting'' the vehicle.}}
; <code>Lock</code>
}}<noinclude>
; <code>Unlock</code>
[[Category:Input Templates|BaseVehicle]]
: Prevent/allow the player from entering ''or exiting'' the vehicle.
</noinclude>
{{I Targetname}}
}}

Latest revision as of 12:54, 21 April 2025

Tip.pngTip:Put |base=1 when calling this template to have it show the Src13 version of the template instead of the AS version.
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.