Ai changetarget: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) mNo edit summary |
TomEdwards (talk | contribs) m (property > keyvalue) |
||
Line 1: | Line 1: | ||
Changes the '''target''' | 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]] |
Revision as of 10:02, 2 July 2005
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.