Ai changetarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (property > keyvalue)
No edit summary
Line 1: Line 1:
{{cleanup}}
==Entity Description==
Changes the '''target''' keyvalue of an entity. Note that the keyvalue must actually be 'target': disable SmartEdit (Alt+S) to see if the entity has one. NPCs do not, so ai_changetarget cannot be used to make them shoot at particular objects. Use [[ai_relationship]] instead. On the other hand trigger_teleports have a '''target''' keyvalue governing destination, and this entity can be used to change it.
Changes the '''target''' keyvalue of an entity. Note that the keyvalue must actually be 'target': disable SmartEdit (Alt+S) to see if the entity has one. NPCs do not, so ai_changetarget cannot be used to make them shoot at particular objects. Use [[ai_relationship]] instead. On the other hand trigger_teleports have a '''target''' keyvalue governing destination, and this entity can be used to change it.


[[Category:AI]]
[[Category:AI]]
[[Category:Entities]]
[[Category:Entities]]
{{stub}}

Revision as of 20:58, 2 July 2005

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Entity Description

Changes the target keyvalue of an entity. Note that the keyvalue must actually be 'target': disable SmartEdit (Alt+S) to see if the entity has one. NPCs do not, so ai_changetarget cannot be used to make them shoot at particular objects. Use ai_relationship instead. On the other hand trigger_teleports have a target keyvalue governing destination, and this entity can be used to change it.

Stub

This article or section is a stub. You can help by expanding it.