Ai changetarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 7: Line 7:


== Keyvalues ==
== Keyvalues ==
* {{kv targetname}}
* {{KV Targetname}}
* '''target'''
* '''target'''
: <target_destination> Entity to change the target for
: <target_destination> Entity to change the target for

Revision as of 19:54, 19 January 2009

Template:Wrongtitle

Entity description

Changes the target of an entity.

Note.pngNote:This entity functions as a target changer for any entity and not just NPCs.

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

  • target
<target_destination> Entity to change the target for
  • m_iszNewTarget
<target_destination> New target's targetname

Inputs

  • Activate
Trigger the target change

Outputs