Template:I BaseTank: Difference between revisions
Jump to navigation
Jump to search
TeamSpen210 (talk | contribs) (Describe the behaviour of SetTargetEntity) |
(format stuff) |
||
Line 1: | Line 1: | ||
{{ | {{minititle|BaseTank}} | ||
{{IO|Activate|Turn the tank on}} | {{IO|Activate|Turn the tank on}} | ||
{{IO|Deactivate|Turn the tank off (go dormant)}} | {{IO|Deactivate|Turn the tank off (go dormant)}} | ||
Line 13: | Line 13: | ||
{{IO|StopFindingNPCs|Stop searching for NPCs to man this func_tank.}} | {{IO|StopFindingNPCs|Stop searching for NPCs to man this func_tank.}} | ||
{{IO|ForceNPCOff|Force the NPC manning this func_tank (if any) to leave.}} | {{IO|ForceNPCOff|Force the NPC manning this func_tank (if any) to leave.}} | ||
{{IO|SetMaxRange|Set the max range of the func_tank.|param=float | {{IO|SetMaxRange|Set the max range of the func_tank.|param=float}}<noinclude>[[Category:Input Templates|BaseTank]]</noinclude> | ||
}}<noinclude> | |||
[[Category:Input Templates|BaseTank]] | |||
</noinclude> |
Revision as of 17:41, 9 September 2018
BaseTank:
- Activate
- 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>
- Set the entity I should follow/attack to the closest entity matching this name.
- SetTargetEntity <entity>
- Set the entity I should follow/attack to the passed in entity. This requires an output which passes an entity through the output.
- 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.