Game - powerof3/PapyrusExtenderSSE GitHub Wiki

Getters

GetAllEnchantments

  • Gets all enchantments from base game + mods, filtered using optional keyword array
Enchantment[] Function GetAllEnchantments(Keyword[] akKeywords = None) global native

GetAllForms

  • Gets all forms from base game + mods, filtered using formtype and optional keyword array
Form[] Function GetAllForms(int aiFormType, Keyword[] akKeywords = None) global native

GetAllRaces

  • Gets all races from base game + mods, filtered using optional keyword array
Race[] Function GetAllRaces(Keyword[] akKeywords = None) global native

GetAllSpells

  • Gets all spells from base game + mods, filtered using optional keyword array. IsPlayable filters out spells that are not found in spellbooks.
Spell[] Function GetAllSpells(Keyword[] akKeywords = None, bool abIsPlayable = false) global native

GetActorsByProcessingLevel

Type Value
HighProcess 0
MiddleHighProcess 1
MiddleLowProcess 2
LowProcess 3
Actor[] Function GetActorsByProcessingLevel(int aiLevel) global native

GetAllFormsInMod

  • Gets all forms added by a specified mod/game esm, filtered using formtype and optional keyword array.
Form[] Function GetAllFormsInMod(String asModName, int aiFormType, Keyword[] akKeywords = None) global native

GetAllEnchantmentsInMod

  • Gets all enchantments added by a specified mod/game esm, filtered using optional keyword array.
Enchantment[] Function GetAllEnchantmentsInMod(String asModName, Keyword[] akKeywords = None) global native

GetAllRacesInMod

  • Gets all races added by a specified mod/game esm, filtered using optional keyword array.
Race[] Function GetAllRacesInMod(String asModName, Keyword[] akKeywords = None) global native

GetAllSpellsInMod

  • Gets all spells added by a specified mod/game esm, filtered using optional keyword array.
Spell[] Function GetAllSpellsInMod(String asModName, Keyword[] akKeywords = None, bool abIsPlayable = false) global native

GetAttachedCells

  • Gets current cell if in interior/attached cells in exterior/sky cell if in worldspace with no attached cells??
Cell[] Function GetAttachedCells() global native

GetFormFromEditorID

  • Gets form using its editorID
Form Function GetFormFromEditorID(String asEditorID) global native

GetGameSettingBool

  • Gets the value of the boolean gamesetting. Returns -1 if gmst is None or not a bool.
int Function GetGameSettingBool(String asGameSetting) global native

GetGodMode

  • Returns whether God Mode is enabled
Bool Function GetGodMode() global native

GetLandHeight

  • Gets land height at the specified coordinates.
float Function GetLandHeight(float afPosX, float afPosY, float afPosZ) global native

GetLandMaterialType

  • Gets land material type at the specified coordinates.
string Function GetLandMaterialType(float afPosX, float afPosY, float afPosZ) global native

GetLocalGravity

  • Gets exterior worldspace/interior cell gravity.
  • Default gravity is [0.0, 0.0, -9.81]
Float[] Function GetLocalGravity() global native

GetNumActorsInHigh

  • Gets how many actors are in high process
int Function GetNumActorsInHigh() global native

GetPlayerFollowers

  • Returns all actors that are currently following the player
Actor[] Function GetPlayerFollowers() global native

GetSurfaceMaterialType

  • Gets the material name of the current surface (land texture) at point
  • See Object Reference for material type list
String Function GetSurfaceMaterialType(float afX, float afY, float afZ) global native

IsPluginFound

bool Function IsPluginFound(String akName) global native

IsSurvivalModeActive

  • Returns whether CC Survival Mode is enabled
  • False in VR
bool Function IsSurvivalModeActive() global native

Setters

ClearCachedFactionFightReactions

  • Clears all faction combat reactions
Function ClearCachedFactionFightReactions() global native

SetLocalGravity

  • Sets exterior worldspace/interior cell gravity (ms-2).
Function SetLocalGravity(float afXAxis, float afYAxis, float afZAxis) global native

UpdateCrosshairs

  • Refreshes crosshair text and other elements
Function UpdateCrosshairs() global native