Template:O BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Reformatted to use IO templates, added to Output Templates category)
Line 1: Line 1:
{{ScrollBox|title=BaseDriveableVehicle|
{{ScrollBox|title=BaseDriveableVehicle|
; <code>PlayerOn</code>
{{IO|PlayerOn}}
; <code>PlayerOff</code>
{{IO|PlayerOff|Player entered/exited the vehicle. {{PlAct}}}}
: Player entered/exited the vehicle. {{PlAct}}
{{IO|PressedAttack}}
; <code>PressedAttack</code>
{{IO|PressedAttack2|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}}
; <code>PressedAttack2</code>
{{IO|AttackAxis|param=bool}}
: Player pressed the +attack/+attack2 key
{{IO|Attack2Axis|param=bool|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}}
; <code>AttackAxis <[[bool]]></code>
{{O Targetname}}
; <code>Attack2Axis <bool></code>
}}<noinclude>
: State of attack/attack2 button. Also called when the player exits the vehicle.
[[Category:Output Templates|BaseDriveableVehicle]]
{{O BaseVehicle}}
</noinclude>
}}

Revision as of 19:30, 23 January 2020

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.