GetInstanceOwner - Actor

From the Fallout4 CreationKit Wiki
Revision as of 00:57, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]