Template:I BaseTank: Difference between revisions
Jump to navigation
Jump to search
(format stuff) |
(updates) |
||
Line 1: | Line 1: | ||
{{minititle|BaseTank}} | {{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).}} | ||
{{IO|SetFireRate|How fast to fire (0 {{=}} don't fire)|param= | {{IO|SetFireRate|How fast to fire (0 {{=}} don't fire).|param=float}} | ||
{{IO|SetDamage|Set the Damage Per Bullet|param= | {{IO|SetDamage|Set the '''Damage Per Bullet''' keyvalue.|param=integer}} | ||
{{IO|SetTargetPosition|World position that | {{IO|SetTargetPosition|World position (coordinates) that to aim at|param=vector}} | ||
{{IO|SetTargetDir|Direction to aim at.|param=vector}} | {{IO|SetTargetDir|Direction (pitch yaw roll) to aim at.|param=vector}} | ||
{{IO|SetTargetEntityName|Set the entity I should follow/attack to the closest entity matching this name.|param= | {{IO|SetTargetEntityName|"Set the entity I should follow/attack to the closest entity matching this name."{{clarify}}|param=targetname}} | ||
{{IO|SetTargetEntity|Set the entity I should follow/attack to the passed in entity. This requires an output which passes an entity through the output.|param=entity}} | {{IO|SetTargetEntity|"Set the entity I should follow/attack to the passed in entity. This requires an output which passes an entity through the output."{{clarify}}|param=entity}} | ||
{{IO|ClearTargetEntity|Clear the entity | {{IO|ClearTargetEntity|Clear the entity memory of any targets it was told to attack.}} | ||
{{IO|FindNPCToManTank|Find a nearby NPC to man this | {{IO|FindNPCToManTank|Find a nearby capable NPC to man this tank.|param=string}} | ||
{{IO|StartFindingNPCs|Start searching for NPCs to man this | {{IO|StartFindingNPCs|Start searching for capable NPCs to man this tank.}} | ||
{{IO|StopFindingNPCs|Stop searching for NPCs to man this | {{IO|StopFindingNPCs|Stop searching for capable NPCs to man this tank.}} | ||
{{IO|ForceNPCOff|Force the NPC manning this | {{IO|ForceNPCOff|Force the NPC manning this tank (if any) to leave.}} | ||
{{IO|SetMaxRange|Set the max range of the | {{IO|SetMaxRange|Set the max range of the tank. {{confirm|Maximum distance a shot can go?}}|param=float}}<noinclude>[[Category:Input Templates|BaseTank]]</noinclude> |
Revision as of 18:13, 9 September 2018
BaseTank:
- Activate
- Turn the tank on.
- Deactivate
- Turn the tank off (go dormant).
- SetFireRate <float>
- How fast to fire (0 = don't fire).
- SetDamage <integer>
- Set the Damage Per Bullet keyvalue.
- SetTargetPosition <vector>
- World position (coordinates) that to aim at
- SetTargetDir <vector>
- Direction (pitch yaw roll) to aim at.
- SetTargetEntityName <targetname>
- "Set the entity I should follow/attack to the closest entity matching this name."[Clarify]
- 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."[Clarify]
- ClearTargetEntity
- Clear the entity memory of any targets it was told to attack.
- FindNPCToManTank <string>
- Find a nearby capable NPC to man this tank.
- StartFindingNPCs
- Start searching for capable NPCs to man this tank.
- StopFindingNPCs
- Stop searching for capable NPCs to man this tank.
- ForceNPCOff
- Force the NPC manning this tank (if any) to leave.
- SetMaxRange <float>
- Set the max range of the tank.
Confirm:Maximum distance a shot can go?