Template:O BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Reformatted to use IO templates, added to Output Templates category)
(allowed it to call the base version of O BaseEntity.)
Line 1: Line 1:
{{ScrollBox|title=BaseDriveableVehicle|
{{lang|Template:O BaseDriveableVehicle}}
{{tip|Put <code>{{!}}all{{=}}1</code> when calling this template to have it show the L4D OnKilled output.}}
<onlyinclude>{{ScrollBox|title=BaseDriveableVehicle|
{{IO|PlayerOn}}
{{IO|PlayerOn}}
{{IO|PlayerOff|Player entered/exited the vehicle. {{PlAct}}}}
{{IO|PlayerOff|Player entered/exited the vehicle. {{PlAct}}}}
Line 6: Line 8:
{{IO|AttackAxis|param=bool}}
{{IO|AttackAxis|param=bool}}
{{IO|Attack2Axis|param=bool|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}}
{{IO|Attack2Axis|param=bool|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}}
{{O Targetname}}
{{O BaseEntity|l4d={{{all|}}}}}
}}<noinclude>
}}</onlyinclude>
[[Category:Output Templates|BaseDriveableVehicle]]
[[Category:Output Templates|BaseDriveableVehicle]]
</noinclude>

Revision as of 14:21, 29 April 2022

Tip.pngTip:Put |all=1 when calling this template to have it show the L4D OnKilled output.
BaseDriveableVehicle:
PlayerOn
PlayerOff
Player entered/exited the vehicle. (!activator is the player.)
PressedAttack
PressedAttack2
Player pressed the +attack/+attack2 key.
AttackAxis <boolean>
Attack2Axis <boolean>
State of the attack/attack2 buttons. Also called when the player exits the vehicle.