_ThingHate

From Eternity Wiki
Jump to: navigation, search

Causes the targets of all things with a TID matching object to be set to the first object found with TID target, if one exists. This will cause enemies or friendly entities to begin fighting the indicated object, although it is still possible for them to become distracted by other targets later.

Syntax[edit]

native _ThingHate(object, target);

Parameters[edit]

  • object : TID of the objects which will receive a new target
  • target : TID of a single object to be hated

See also[edit]