Template:I BaseTank: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
Line 1: Line 1:
{{i targetname}}
{{i targetname}}
*{{i parentname}}
*{{I Parentname}}
*{{i shadow}}
*{{i shadow}}
*'''Activate'''
*'''Activate'''

Revision as of 22:32, 19 January 2009

Template:I targetname

Parentname:
SetParent <string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.
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 <target_destination>
Name of entity I should follow/attack
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.