Template:I BaseTank

From Valve Developer Community
Revision as of 20:58, 18 October 2005 by Maven (talk | contribs) (bot-assisted)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:I targetname

Turn the tank on
  • Deactivate
Turn the tank off (go dormant)
  • SetFireRate <string>
How fast to fire (0 = don't fire)
  • SetDamage <string>
Set the Damage Per Bullet
  • SetTargetPosition <string>
World position that I should aim at
  • SetTargetDir <vector>
Direction to aim at.
  • SetTargetEntityName <string>
Name of entity I should follow/attack
  • SetTargetEntity <string>
Entity I should follow/attack (output from other entity only)
  • ClearTargetEntity
Clear the entity I should be attacking.
  • FindNPCToManTank <string>
Find a nearby NPC to man this func_tank.
  • StartFindingNPCs
Start searching for NPCs to man this func_tank.
  • StopFindingNPCs
Stop searching for NPCs to man this func_tank.
  • ForceNPCOff
Force the NPC manning this func_tank (if any) to leave.
  • SetMaxRange <float>
Set the max range of the func_tank.