Background for Skyrim SE

PyramidUtils


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
voidfunctionSetActorCalmed(ActorakActor, boolabCalmed)Global

Actor

voidfunctionSetActorFrozen(ActorakTarget, boolabFrozen)Global
Actor[]functionGetDetectedBy(ActorakActor)Global
Keyword[]functionWornHasKeywords(ActorakActor, Keyword[]akKwds)Global
Keyword[]functionWornHasKeywordStrings(ActorakActor, string[]akKwds)Global
voidfunctionDismount(ActorakTarget)Global
Form[]functionGetItemsByKeyword(ObjectReferenceakContainer, Keyword[]akKeywords, boolabMatchAll=false)Global

Inventory Processing

Form[]functionFilterFormsByKeyword(Form[]akForms, Keyword[]akKeywords, boolabMatchAll=false, boolabInvert=false)Global
Form[]functionFilterFormsByGoldValue(Form[]akForms, intaiValue, boolabGreaterThan=true, boolabEqual=true)Global
Form[]functionFilterByEnchanted(ObjectReferenceakContainer, Form[]akForms, boolabEnchanted=true)Global
Form[]functionFilterByEquippedSlot(Form[]akForms, int[]aiSlots, boolabAll=false)Global
intfunctionRemoveForms(ObjectReferenceakFromCont, Form[]akForms, ObjectReferenceakToCont=NONE)Global
boolfunctionFormHasKeyword(FormakItem, Keyword[]akKwds, boolabAll=false)Global

Form Processing

boolfunctionFormHasKeywordStrings(FormakItem, string[]akKwds, boolabAll=false)Global

Player

stringfunctionReplaceAt(stringasStr, intaiIndex, stringasReplace)Global

String Processing

stringfunctionGetButtonForDXScanCode(intaiCode)Global

Input

voidfunctionRegisterForAllAlphaNumericKeys(FormakForm)Global
Form[]functionGetInventoryNamedObjects(ObjectReferenceakContainer, string[]asNames)Global
floatfunctionGetTemperFactor(ObjectReferenceakContainer, FormakItem)Global

unlike ObjecReference.GetItemHealthPercent, this will work on items in a container (range: 0.0-1.6)

ObjectReferencefunctionGetQuestMarker(QuestakQuest)Global

geography

WorldSpace[]functionGetExteriorWorldSpaces(CellakCell)Global

if cell is exterior gets worldspace like normal, if interior looks for external doors and their worldspace

Location[]functionGetExteriorLocations(CellakCell)Global
floatfunctionGetTravelDistance(ObjectReferenceakRef1, ObjectReferenceakRef2)Global

unlike GetDistance this works even when one or both refs are in an interior or another cell

floatfunctionGetAbsPosX(ObjectReferenceakRef)Global

uses worldspace offsets to get absolute position on external refs

floatfunctionGetAbsPosY(ObjectReferenceakRef)Global
floatfunctionGetAbsPosZ(ObjectReferenceakRef)Global
GlobalVariablefunctionGetGlobal(stringasEditorID)Global

misc

stringfunctionConsoleGetAbsPos(FormakRef)Global

custom console proxy functions - ignore these

stringfunctionConsoleGetPlayerAbsDist(FormakRef)Global
floatfunctionGetVersion()Global

Script Version Number
This will no longer change and is only meant for backwards compatibility with mods made while this script was a standalone mod

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