IsOwner

Revision as of 12:50, 20 June 2008 by imported>Vswe (Added Search Terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

IsOwner NPC/FactionID (optional)

Example:

SpecialObject.IsOwner BladesFaction
SpecialObject.IsOwner AmuseiRef
SpecialObject.IsOwner


Returns 1 if calling object is owned by the specified faction/NPC. This only checks actual ownership on the reference not the inherited ownership from the cell, or faction.

If called without parameter: returns 1 if the calling object is owned by the player. returns 0 if the calling object is not owned by the player.

Cannot be called as:

IsOwner Player