Template:O BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Substituted IO templates)
(not bool)
Line 5: Line 5:
{{O|PressedAttack}}
{{O|PressedAttack}}
{{O|PressedAttack2|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}}
{{O|PressedAttack2|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}}
{{O|AttackAxis|param=bool}}
{{O|AttackAxis|param=float}}
{{O|Attack2Axis|param=bool|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}}
{{O|Attack2Axis|param=float|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}}
</onlyinclude>
</onlyinclude>
[[Category:Output Templates|BaseDriveableVehicle]]
[[Category:Output Templates|BaseDriveableVehicle]]

Revision as of 06:01, 7 May 2025

BaseDriveableVehicle:

PlayerOn
PlayerOff
Player entered/exited the vehicle. (!activator is the player.)
PressedAttack
PressedAttack2
Player pressed the +attack/+attack2 key.
AttackAxis <float>
Attack2Axis <float>
State of the attack/attack2 buttons. Also called when the player exits the vehicle.