Template:I BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
m (→‎top: Substituted IO templates)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{i basevehicle}}
{{lang|Template:I BaseDriveableVehicle}}
* '''HandBrakeOn'''
{{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.}}
* '''HandBrakeOff'''
<onlyinclude>{{ScrollBox|title=BaseDriveableVehicle|noscroll=true|
{{I|HandBrakeOn}}
{{I|HandBrakeOff|Turns the handbrake on/off, preventing the vehicle from driving but ''not'' disabling motion from external forces.}}
{{#if: {{{base|}}} | {{I BaseVehicle|base=1}} | {{I BaseVehicle}} }}
}}</onlyinclude>
[[Category:Input Templates|BaseDriveableVehicle]]

Latest revision as of 12:52, 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.
BaseDriveableVehicle:
HandBrakeOn
HandBrakeOff
Turns the handbrake on/off, preventing the vehicle from driving but not disabling motion from external forces.
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.