-
Notifications
You must be signed in to change notification settings - Fork 18
Game
powerof3 edited this page Jun 9, 2025
·
4 revisions
- Gets all enchantments from base game + mods, filtered using optional keyword array
Enchantment[] Function GetAllEnchantments(Keyword[] akKeywords = None) global native- Gets all forms from base game + mods, filtered using formtype and optional keyword array
Form[] Function GetAllForms(int aiFormType, Keyword[] akKeywords = None) global native- Gets all races from base game + mods, filtered using optional keyword array
Race[] Function GetAllRaces(Keyword[] akKeywords = None) global native- 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| Type | Value |
|---|---|
| HighProcess | 0 |
| MiddleHighProcess | 1 |
| MiddleLowProcess | 2 |
| LowProcess | 3 |
- Gets all actors by AI processing type.
- See GetActorsByProcessingLevel for more info
Actor[] Function GetActorsByProcessingLevel(int aiLevel) global native- 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- 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- 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- 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- Gets current cell if in interior/attached cells in exterior/sky cell if in worldspace with no attached cells??
Cell[] Function GetAttachedCells() global native- Gets form using its editorID
Form Function GetFormFromEditorID(String asEditorID) global native- Gets the value of the boolean gamesetting. Returns -1 if gmst is None or not a bool.
int Function GetGameSettingBool(String asGameSetting) global native- Returns whether God Mode is enabled
Bool Function GetGodMode() global native- Gets land height at the specified coordinates.
float Function GetLandHeight(float afPosX, float afPosY, float afPosZ) global native- Gets land material type at the specified coordinates.
string Function GetLandMaterialType(float afPosX, float afPosY, float afPosZ) global native- Gets exterior worldspace/interior cell gravity.
- Default gravity is [0.0, 0.0, -9.81]
Float[] Function GetLocalGravity() global native- Gets how many actors are in high process
int Function GetNumActorsInHigh() global native- Returns all actors that are currently following the player
Actor[] Function GetPlayerFollowers() global native- 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 nativebool Function IsPluginFound(String akName) global native- Returns whether CC Survival Mode is enabled
- False in VR
bool Function IsSurvivalModeActive() global native- Clears all faction combat reactions
Function ClearCachedFactionFightReactions() global native- Sets exterior worldspace/interior cell gravity (ms-2).
Function SetLocalGravity(float afXAxis, float afYAxis, float afZAxis) global native- Refreshes crosshair text and other elements
Function UpdateCrosshairs() global native