Ai changetarget
Jump to navigation
Jump to search
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.