Template:O BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(allowed it to call the base version of O BaseEntity.)
(-cleanup)
Line 1: Line 1:
{{lang|Template:O BaseDriveableVehicle}}
{{lang|Template:O BaseDriveableVehicle}}
{{tip|Put <code>{{!}}all{{=}}1</code> when calling this template to have it show the L4D OnKilled output.}}
<onlyinclude>{{minititle|BaseDriveableVehicle}}
<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 8: Line 7:
{{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 BaseEntity|l4d={{{all|}}}}}
</onlyinclude>
}}</onlyinclude>
[[Category:Output Templates|BaseDriveableVehicle]]
[[Category:Output Templates|BaseDriveableVehicle]]

Revision as of 07:07, 1 July 2024

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.