_ThingHate

From Eternity Wiki
Revision as of 05:56, 25 December 2009 by Printz (talk | contribs) (New page: {{DISPLAYTITLE:_ThingHate}} 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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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]