Background for Skyrim SE

SteelfeathersPapyrusExtensions


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
boolfunctionOpenInventoryEx(Actortarget, inttype)NativeGlobal

Open the target actor's inventory in one of the following states:
0 = regular item transfer, equivalent to OpenInventory(false), except that it actually works to open the inventory of a non-teammate
1 = stealing from a container or coprse
2 = pickpocketing
3 = item transfer between teammates, equivalent to OpenInventory(true)

int[]functionGetVersion()NativeGlobal

Returns the SKSE plugin's version as an array of 3 ints. Use to verify the plugin is installed and working.
Version 1.0.0 becomes [1,0,0]

ActorBasefunctionGetFormActorOwner(ObjectReferenceinventoryObjRef, Formitem)NativeGlobal

Get the actorBase owner of the passed-in form, if it has one.
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

FactionfunctionGetFormFactionOwner(ObjectReferenceinventoryObjRef, Formitem)NativeGlobal

Same as GetFormActorOwner(), but returns the faction owner of this item, if it has one.

boolfunctionIsFormStolen(ObjectReferenceinventoryObjRef, Formitem)NativeGlobal

Returns whether this form has been stolen.
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

boolfunctionSetFormActorOwner(ObjectReferenceinventoryObjRef, Formitem, ActorBaseowner)NativeGlobal

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

boolfunctionSetFormFactionOwner(ObjectReferenceinventoryObjRef, Formitem, Factionowner)NativeGlobal

Same as SetFormActorOwner(), but sets the owner to the passed-in faction instead.

intfunctionGetTotalGoldValue(Formitem)NativeGlobal

Gets the total gold value you see for an item in your inventory, not just the base value. Allows you to fetch the actual value of enchanted items.

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.