Ai changetarget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
Changes the '''target''' property of an entity. Note that the property 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_teleport does have a '''target''' property governing destination, and this entity can be used to change it.
Changes the '''target''' property of an entity. Note that the property 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''' property governing destination, and this entity can be used to change it.


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

Revision as of 06:16, 2 July 2005

Changes the target property of an entity. Note that the property 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 property governing destination, and this entity can be used to change it.