Template:I BaseDriveableVehicle: Difference between revisions
Jump to navigation
Jump to search
Tip:Put
Deprecated (talk | contribs) (Reformatted to use IO templates, added to Input Templates category) |
Kestrelguy (talk | contribs) m (allowed it to call the base version of I BaseEntity.) |
||
Line 1: | Line 1: | ||
<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> | |||
{{ScrollBox|title=BaseDriveableVehicle|noscroll=true| | {{ScrollBox|title=BaseDriveableVehicle|noscroll=true| | ||
{{IO|HandBrakeOn}} | {{IO|HandBrakeOn}} | ||
{{IO|HandBrakeOff|Turns the handbrake on/off, preventing the vehicle from driving but ''not'' disabling motion from external forces.}} | {{IO|HandBrakeOff|Turns the handbrake on/off, preventing the vehicle from driving but ''not'' disabling motion from external forces.}} | ||
{{I BaseVehicle}} | {{#if: {{{base|}}} | {{I BaseVehicle|base=1}} | {{I BaseVehicle}} }} | ||
}}<noinclude> | }}<noinclude> | ||
[[Category:Input Templates|BaseDriveableVehicle]] | [[Category:Input Templates|BaseDriveableVehicle]] | ||
</noinclude> | </noinclude> |
Revision as of 13:25, 29 April 2022

|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.