GetInstanceOwner - Actor

From Creation Kit
Jump to: navigation, search

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

Placeholder Description.

Syntax

InstanceData:Owner Function GetInstanceOwner(int slotIndex)

Parameters

Return Value

Examples

; 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