Template:O BaseTank: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{ScrollBox|title=BaseTank|
{{IO|OnFire|Fires when the tank fires its bullets}}
{{IO|OnAquireTarget|Fires when target is newly in range and can be shot}}
{{IO|OnLoseTarget|Fires when when target goes out of range}}
{{IO|OnAmmoDepleted|Fires when tank runs out of ammo}}
{{IO|OnGotController|Fires when an NPC starts to control this tank. Players do NOT fire this input.}}
{{IO|OnLostController|Fires when the NPC controller of the tank stops controlling it. Players do NOT fire this input.}}
{{IO|OnGotPlayerController|Fires when a Player starts to control this tank. NPCs do NOT fire this input.}}
{{IO|OnLostPlayerController|Fires when the Player controller of the tank stops controlling it. NPCs do NOT fire this input.}}
{{IO|OnReadyToFire|Fires once when the tank is done waiting to fire between rounds}}
{{O Targetname}}
{{O Targetname}}
*'''OnFire'''
}}<noinclude>
:Fires when the tank fires its bullets
[[Category:Output Templates|BaseTank]]
*'''OnAquireTarget'''
</noinclude>
:Fires when target is newly in range and can be shot
*'''OnLoseTarget'''
:Fires when when target goes out of range
*'''OnAmmoDepleted'''
:Fires when tank runs out of ammo
*'''OnGotController'''
:Fires when an NPC starts to control this tank. Players do NOT fire this input.
*'''OnLostController'''
:Fires when the NPC controller of the tank stops controlling it. Players do NOT fire this input.
*'''OnGotPlayerController'''
:Fires when a Player starts to control this tank. NPCs do NOT fire this input.
*'''OnLostPlayerController'''
:Fires when the Player controller of the tank stops controlling it. NPCs do NOT fire this input.
*'''OnReadyToFire'''
:Fires once when the tank is done waiting to fire between rounds

Revision as of 21:00, 12 June 2011

BaseTank:
OnFire
Fires when the tank fires its bullets
OnAquireTarget
Fires when target is newly in range and can be shot
OnLoseTarget
Fires when when target goes out of range
OnAmmoDepleted
Fires when tank runs out of ammo
OnGotController
Fires when an NPC starts to control this tank. Players do NOT fire this input.
OnLostController
Fires when the NPC controller of the tank stops controlling it. Players do NOT fire this input.
OnGotPlayerController
Fires when a Player starts to control this tank. NPCs do NOT fire this input.
OnLostPlayerController
Fires when the Player controller of the tank stops controlling it. NPCs do NOT fire this input.
OnReadyToFire
Fires once when the tank is done waiting to fire between rounds