Difference between revisions of "IsOwner"
Jump to navigation
Jump to search
imported>JBurgess |
imported>Egocarib m (Category:Condition Functions) |
||
Line 13: | Line 13: | ||
[[GetFactionOwner - ObjectReference]] | [[GetFactionOwner - ObjectReference]] | ||
[[Category:Condition Functions]] | |||
[[Category:Console Commands]] | [[Category:Console Commands]] |
Latest revision as of 21:44, 14 November 2013
Syntax:
IsOwner NPC/FactionID (optional)
Example:
SpecialObject.IsOwner BrotherhoodSteelFaction SpecialObject.IsOwner SaraLyonsRef 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. If called without parameter, returns 1 if the calling object is owned by the player (i.e. has no ownership).
Papyrus Version[edit | edit source]
GetActorOwner - ObjectReference
GetFactionOwner - ObjectReference