Difference between revisions of "Template:O BaseDriveableVehicle"

From Valve Developer Community
Jump to: navigation, search
m (Robot: fixing template case.)
Line 1: Line 1:
 +
{{ScrollBox|title=BaseDriveableVehicle|
 +
; <code>PlayerOn</code>
 +
; <code>PlayerOff</code>
 +
: Player entered/exited the vehicle. {{PlAct}}
 +
; <code>PressedAttack</code>
 +
; <code>PressedAttack2</code>
 +
: Player pressed the +attack/+attack2 key
 +
; <code>AttackAxis <[[bool]]></code>
 +
; <code>Attack2Axis <bool></code>
 +
: State of attack/attack2 button. Also called when the player exits the vehicle.
 
{{O BaseVehicle}}
 
{{O BaseVehicle}}
* '''PlayerOn'''
+
}}
: Player entered the vehicle. {{PlAct}}
 
* '''PlayerOff'''
 
: Player exited the vehicle. {{PlAct}}
 
* '''PressedAttack'''
 
: Player Pressed attack key
 
* '''PressedAttack2'''
 
: Player Pressed attack2 key
 
* '''AttackAxis {{boolean}}'''
 
: State of attack button. Also called when player exits vehicle
 
* '''Attack2Axis {{boolean}}'''
 
: State of attack2 button. Also called when player exits vehicle
 

Revision as of 03:51, 27 July 2009

BaseDriveableVehicle:

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

Targetname:

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.