[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "IsOwner"
Jump to navigation
Jump to search
imported>Fella |
imported>Vswe m (Added Search Terms) |
||
Line 22: | Line 22: | ||
[[Category: Inventory Functions (CS 1.0)]] | [[Category: Inventory Functions (CS 1.0)]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
<!-- Begin Search Terms | |||
Is | |||
Owner | |||
End Search Terms --> |
Latest revision as of 12:50, 20 June 2008
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