Background for Skyrim SE

SPE_ObjectRef


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
Form[]functionGetEnchantedItems(ObjectReferenceakReference, boolabWeapons, boolabArmor, boolabWornOnly)NativeGlobal

Return all enchanted items on the given object

Form[]functionGetInventoryNamedObjects(ObjectReferenceakReference, string[]asNames)NativeGlobal

Return all items on the given object whichs item name matches one of the given names

Form[]functionGetItemsByKeyword(ObjectReferenceakReference, Keyword[]akKeywords, boolabMatchAll)NativeGlobal

Return all items on the given object which includes any (or all) of the given keywords

intfunctionRemoveItems(ObjectReferenceakReference, Form[]akForms, ObjectReferenceakTarget)NativeGlobal

Remove all items in akForms from akReference, optionally moving them to akTarget. Returns the number of items removed

floatfunctionGetTemperFactor(ObjectReferenceakReference, FormakForm)NativeGlobal

Return IteamHealthPercent of akForm. Alternative to ObjecReference.GetItemHealthPercent for items stored in a container (range: 0.0 - 1.6)

floatfunctionGetTravelDistance(ObjectReferenceakReference, ObjectReferenceakTarget)NativeGlobal

GetDistance between akReference and akTarget using absolute positions, s.t. interior cells are considered accordingly

floatfunctionGetAbsPosX(ObjectReferenceakReference)NativeGlobal

Return absolute positions of akReference. That is, the position of the reference with respect to the adjacent exterior worldspace (if any)

floatfunctionGetAbsPosY(ObjectReferenceakReference)NativeGlobal
floatfunctionGetAbsPosZ(ObjectReferenceakReference)NativeGlobal
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.