ScriptEvent:getEntityAllegiance

From Mod Wiki
Revision as of 16:37, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

entity entity -- Entity to compare with.

Result

integer

Supported By

idEntity

Comments

  • The result will be TA_FRIEND, TA_NEUTRAL, or TA_ENEMY

Functionality

Returns a value indicating the relationship between the team of this entity and the team of the specified entity.