Difference between revisions of "Template:O BaseDriveableVehicle"

From Valve Developer Community
Jump to: navigation, search
m
 
(Reformatted to use IO templates, added to Output Templates category)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{o basevehicle}}
+
{{ScrollBox|title=BaseDriveableVehicle|
* '''PlayerOn'''
+
{{IO|PlayerOn}}
: Player entered the vehicle
+
{{IO|PlayerOff|Player entered/exited the vehicle. {{PlAct}}}}
* '''PlayerOff'''
+
{{IO|PressedAttack}}
: Player exited the vehicle
+
{{IO|PressedAttack2|Player pressed the <code>+attack</code>/<code>+attack2</code> key.}}
* '''PressedAttack'''
+
{{IO|AttackAxis|param=bool}}
: 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
+
}}<noinclude>
* '''AttackAxis <string>'''
+
[[Category:Output Templates|BaseDriveableVehicle]]
: State of attack button [0,1]
+
</noinclude>
* '''Attack2Axis <string>'''
 
: State of attack2 button [0,1]
 

Latest 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.

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.