Difference between revisions of "ScriptEvent:getEntityAllegiance"

From Mod Wiki
 
(No difference)

Latest revision as of 16:37, 5 November 2007

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.