Tanktrain aitarget: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
		
	
| No edit summary | No edit summary | ||
| (16 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| An entity that changes the target of a  | {{LanguageBar}} | ||
| {{CD|CTankTargetChange|file1=1}} | |||
| {{This is a|point entity|name=tanktrain_aitarget}} An entity that changes the target of a {{ent|tanktrain_ai}} entity. | |||
| ==Keyvalues== | == Keyvalues == | ||
| {{KV Targetname}} | |||
| {{KV|Tank AI Entity|intn=target|string|The tanktrain_ai entity to change the target of.}} | |||
| {{KV|New Target Entity|intn=newtarget|string|The entity to tell the tanktrain_ai to target.}} | |||
| == | == Input == | ||
| {{I|Use|param=void|nofgd=1|Will call the <code>TargetEntity</code> input with value of <code>newtarget</code> on the targetted entity/ies.}} | |||
| == | == See also == | ||
| *{{ | * {{ent|tanktrain_ai}} | ||
Latest revision as of 02:55, 6 June 2025

 
|  Class hierarchy | 
|---|
| CTankTargetChange | 
|  tanktrain.cpp | 
tanktrain_aitarget  is a   point entity  available in all  Source games. An entity that changes the target of a tanktrain_ai entity.
 Source games. An entity that changes the target of a tanktrain_ai entity.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Tank AI Entity (target) <string>
- The tanktrain_ai entity to change the target of.
- New Target Entity (newtarget) <string>
- The entity to tell the tanktrain_ai to target.
Input
- Use <void> !FGD
- Will call the TargetEntityinput with value ofnewtargeton the targetted entity/ies.
























