GetInstanceOwner - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

F4SE Member of: Actor Script
Requires F4SE version 0.3.1 or higher.

Placeholder Description.

Syntax[edit | edit source]

InstanceData:Owner Function GetInstanceOwner(int slotIndex)

Parameters[edit | edit source]

Return Value[edit | edit source]

Examples[edit | edit source]

; Getting an owner from the player
InstanceData:Owner thisInstance = Game.GetPlayer().GetInstanceOwner(41)
Debug.Trace(thisInstance.Owner)     ; Player
Debug.Trace(thisInstance.slotIndex) ; 41

See Also[edit | edit source]