This article's documentation is for anything that uses the Source engine. Click here for more information.

Tanktrain aitarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Internal names for KVs)
(-added class hierarchy)
Line 1: Line 1:
{{this is a|point entity|name=tanktrain_aitarget}} {{base point legacy|ai_changetarget}} An entity that changes the target of a [[tanktrain_ai]] entity.
{{LanguageBar}}
{{CD|CTankTargetChange|file1=1}}
{{This is a|point entity|name=tanktrain_aitarget}} {{base point legacy|ai_changetarget}} An entity that changes the target of a {{ent|tanktrain_ai}} entity.


== Keyvalues ==
== Keyvalues ==
Line 6: Line 8:
{{KV|New Target Entity|intn=newtarget|string|The entity to tell the tanktrain_ai to target.}}
{{KV|New Target Entity|intn=newtarget|string|The entity to tell the tanktrain_ai to target.}}


== Inputs ==
== See also ==
{{I Targetname}}
* {{ent|tanktrain_ai}}
 
== Outputs ==
{{O Targetname}}

Revision as of 10:44, 28 October 2024

English (en)Translate (Translate)
C++ Class hierarchy
CTankTargetChange
CPointEntity
CBaseEntity
C++ tanktrain.cpp

tanktrain_aitarget is a point entity available in all Source Source games. Legacy support only. Use ai_changetarget instead. 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. parentname or target).
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.

See also