Difference between revisions of "Template:O BaseDriveableVehicle"

From Valve Developer Community
Jump to: navigation, search
(Reformatted to use IO templates, added to Output Templates category)
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{o basevehicle}}
* '''PlayerOn'''
: Player entered the vehicle
{{IO|PlayerOff|Player entered/exited the vehicle. {{PlAct}}}}
* '''PlayerOff'''
: Player exited the vehicle
{{IO|PressedAttack2|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}}
* '''PressedAttack'''
: Player Pressed attack key
{{IO|Attack2Axis|param=bool|State of the <code>attack</code>/<code>attack2</code> buttons. Also called when the player exits the vehicle.}}
* '''PressedAttack2'''
{{O Targetname}}
: Player Pressed attack2 key
* '''AttackAxis <string>'''
[[Category:Output Templates|BaseDriveableVehicle]]
: State of attack button [0,1]
* '''Attack2Axis <string>'''
: State of attack2 button [0,1]

Latest revision as of 19:30, 23 January 2020


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


OnUser1 to OnUser4
These outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnKilled  (only in <Left 4 Dead> <Left 4 Dead 2>)
This output fires when the entity is killed and removed from the game.