Ai changetarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
m (minoro)
Line 1: Line 1:
{{wrongtitle|title=ai_changetarget}}
{{wrongtitle|title=ai_changetarget}}


==Entity Description==
== Entity description ==
Changes the target of an [[entity]].
Changes the target of an [[entity]].


{{note|This entity functions as a target changer for any entity, not just [[NPC]]s}}
{{note|This entity functions as a target changer for any entity and not just [[NPC]]s.}}
==Keyvalues==
 
== Keyvalues ==
* {{kv targetname}}
* {{kv targetname}}
* '''target'''
* '''target'''
Line 12: Line 13:
: <target_destination> New target's targetname
: <target_destination> New target's targetname


==Inputs==
== Inputs ==
* {{i targetname}}
* {{i targetname}}
* '''Activate'''
* '''Activate'''
: Trigger the target change
: Trigger the target change
==Outputs==
 
== Outputs ==
* {{o targetname}}
* {{o targetname}}


[[Category:AI]]
[[Category:AI]]
[[Category:Entities]]
[[Category:Entities]]

Revision as of 13:03, 26 November 2007

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

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

Inputs

Trigger the target change

Outputs