Background for Skyrim SE
Member of the SteelfeathersPapyrusExtensions script
boolfunctionSetFormActorOwner(ObjectReferenceinventoryObjRef, Formitem, ActorBaseowner)NativeGlobal

Description

Documentation Comment

Change the actorBase that owns this form item; useful for laundering stolen items as marking them as belonging to you.
InventoryObjRef is the actor or container currently holding the item you want to evaluate.
Best used within OnItemAdded() events; you don't need this for objects you pick up from the world, they already have an ObjectReference you can call GetActorOwner() on normally


Parameters

  1. ObjectReferenceinventoryObjRef

  2. Formitem

  3. ActorBaseowner


Examples

Auto-Generated Example

ObjectReference myObjectReference__inventoryObjRef
Form myForm__item
ActorBase myActorBase__owner

bool returnedValue = SteelfeathersPapyrusExtensions.SetFormActorOwner(myObjectReference__inventoryObjRef, myForm__item, myActorBase__owner)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.