Background for Skyrim SE

LibFire


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
intfunctionActorFindAnyKeyword(ActorakActor, Keyword[]argKeywords)NativeGlobal

Returns the index of the first keyword in argKeywords assigned to akActor - if not found, -1 is returned

intfunctionActorFindAnyPerk(ActorakActor, Perk[]argPerks)NativeGlobal

Returns the index of the first perk in argPerks assigned to akActor - if not found, -1 is returned

Faction[]functionActorFindCrimeFactions(ActorakActor)NativeGlobal

Returns an array of factions that track crime and of which akActor is a current member

boolfunctionActorHasAnyKeyword(ActorakActor, FormListakKeywords)NativeGlobal

Returns whether akActor has any keyword in akKeywords

boolfunctionActorHasPerkRank(ActorakActor, PerkakPerk, intaiRank)NativeGlobal

Returns whether akActor has akPerk and its rank is aiRank - if match not found, False is returned

boolfunctionActorIsCommandedBy(ActorakActor, ActorakOtherActor)NativeGlobal

Returns whether akActor is commanded by akOtherActor

boolfunctionActorIsCommandedByPlayer(ActorakActor)NativeGlobal

Returns whether akActor is commanded by the player

boolfunctionActorIsFollower(ActorakActor)NativeGlobal

Returns whether akActor is a teammate or player-controlled commanded/summoned actor

boolfunctionActorIsInAnyFaction(ActorakActor, FormListakFactions)NativeGlobal

Returns whether akActor is a member of any faction in akFactions with a rank greater than -1

boolfunctionActorIsInFaction(ActorakActor, FactionakFaction)NativeGlobal

Returns whether akActor is a member of akFaction with a rank greater than -1

boolfunctionActorIsSummoned(ActorakActor)NativeGlobal

Returns whether akActor is a summoned actor

intfunctionGetActorPerkRank(ActorakActor, PerkakPerk)NativeGlobal

Returns the current rank of akPerk assigned to akActor - if perk not assigned, -1 is returned

Perk[]functionGetActorPerks(ActorakActor)NativeGlobal

Returns an array of perks assigned to akActor

Actor[]functionGetCommandedActors(ActorakActor)NativeGlobal

Returns an array of commanded actors for akActor or None

ActorfunctionGetCommandingActor(ActorakActor)NativeGlobal

Returns the commanding actor for akActor when actor is commanded

AmmofunctionGetEquippedAmmo(ActorakActor)NativeGlobal

Array

intfunctionArrayFindClosestActor(Actor[]argActors, ObjectReferenceakOrigin)NativeGlobal

Searches argActors for closest actor to akOrigin and returns index of member - if not found, -1 is returned

intfunctionArrayFindGlobalValue(GlobalVariable[]argGlobals, floatafValue)NativeGlobal

Faction

boolfunctionGetFactionIgnoresMurder(FactionakFaction)NativeGlobal

Returns flag values for akFaction

boolfunctionGetFactionIgnoresAssault(FactionakFaction)NativeGlobal
boolfunctionGetFactionIgnoresTrespass(FactionakFaction)NativeGlobal
boolfunctionGetFactionIgnoresPickpocket(FactionakFaction)NativeGlobal
boolfunctionGetFactionIgnoresStealing(FactionakFaction)NativeGlobal
boolfunctionGetFactionIgnoresWerewolf(FactionakFaction)NativeGlobal
boolfunctionGetFactionReportsCrimesAgainstMembers(FactionakFaction)NativeGlobal
boolfunctionGetFactionTracksCrime(FactionakFaction)NativeGlobal
boolfunctionGetFactionUsesCrimeGoldDefaults(FactionakFaction)NativeGlobal
floatfunctionGetFactionCrimeValue(FactionakFaction, intaiMember)NativeGlobal

[DEV SERVER] Loading description...

voidfunctionSetAllies(FactionakFaction, FormListakFactions, boolabSelfIsFriendToOther=false, boolabOtherIsFriendToSelf=false)NativeGlobal

Sets akFaction as ally or friend to each faction in akFactions

voidfunctionSetEnemies(FactionakFaction, FormListakFactions, boolabSelfIsNeutralToOther=false, boolabOtherIsNeutralToSelf=false)NativeGlobal

Sets akFaction as enemy or neutral to each faction in akFactions

voidfunctionCopyFactionCrimeGold(FactionakFaction, FactionakOtherFaction, boolabModify)NativeGlobal

Copies violent and nonviolent crime gold from akFaction to akOtherFaction. If abModify is True,
adds crime gold values to existing values instead.

voidfunctionResetFactionCrimeGold(FactionakFaction)NativeGlobal

Zeroes out violent and nonviolent crime gold on akFaction

boolfunctionClearFactionReactionsCache()NativeGlobal

FormList

bool[]functionSearchListForForms(FormListakHaystack, Form[]argNeedles)NativeGlobal

Returns whether akHaystack contains each form in argNeedles

bool[]functionSearchListsForForm(FormListakHaystack, FormakNeedle)NativeGlobal

ObjectReference

ActorfunctionFindClosestActorByLOS(ObjectReferenceakOrigin, floatafRadius)NativeGlobal

Returns closest actor within afRadius of and line of sight to akOrigin

ActorfunctionFindClosestActorInFaction(ObjectReferenceakOrigin, FactionakFaction, floatafRadius)NativeGlobal

Returns closest actor who is a member of akFaction within afRadius of akOrigin

ActorfunctionFindClosestActorInFactionByLOS(ObjectReferenceakOrigin, FactionakFaction, floatafRadius)NativeGlobal

Returns closest actor who is a member of akFaction within afRadius of and line of sight to akOrigin

Actor[]functionFindNearbyActors(ObjectReferenceakOrigin, floatafRadius)NativeGlobal

Returns actors in loaded cells within afRadius of akOrigin

Actor[]functionFindNearbyActorsInFaction(ObjectReferenceakOrigin, FactionakFaction, floatafRadius)NativeGlobal

Returns actors who are members of akFaction in loaded cells within afRadius of akOrigin

Actor[]functionFindNearbyActorsInFactionByLOS(ObjectReferenceakOrigin, FactionakFaction, floatafRadius)NativeGlobal

Returns actors who are members of akFaction in loaded cells within afRadius of and line of sight to akOrigin

ObjectReference[]functionFindNearbyBooks(ObjectReferenceakOrigin, floatafRadius)NativeGlobal

Returns books in loaded cells within afRadius of akOrigin

Actor[]functionFindNearbyCommandedActors(ObjectReferenceakOrigin, floatafRadius)NativeGlobal

Returns commanded actors in loaded cells within afRadius of akOrigin who are controlled by akOrigin

Actor[]functionFindNearbyFollowers(floatafRadius)NativeGlobal

Returns teammates and player-controlled commanded/summoned actors in loaded cells within afRadius of player

Actor[]functionFindNearbySummons(ObjectReferenceakOrigin, floatafRadius)NativeGlobal

Returns summoned actors in loaded cells within afRadius of akOrigin

Actor[]functionFindNearbyTeammates(floatafRadius)NativeGlobal

Returns teammates in loaded cells within afRadius of player

floatfunctionGetPermanentActorValue(ObjectReferenceakActor, stringasActorValue)NativeGlobal

Player Character

Returns an array of factions with which the player is infamous

Faction[]functionFindPlayerWantedByFactions()NativeGlobal

Returns an array of factions to which the player owes crime gold

boolfunctionIsPlayerInfamous()NativeGlobal

Returns whether the player is infamous with any faction

boolfunctionIsPlayerWanted()NativeGlobal

Race

intfunctionGetRaceSkillBonus(RaceakRace, stringasActorValue)NativeGlobal

Returns the skill boost value of asActorValue for akRace

string[]functionGetRaceSkills(RaceakRace)NativeGlobal

Returns names of boosted actor values for akRace

floatfunctionGetRaceMaleHeight(RaceakRace)NativeGlobal

Returns the base male height for akRace

floatfunctionGetRaceFemaleHeight(RaceakRace)NativeGlobal

Returns the base female height for akRace

floatfunctionGetRaceMaleWeight(RaceakRace)NativeGlobal

Returns the base male weight for akRace

floatfunctionGetRaceFemaleWeight(RaceakRace)NativeGlobal

Returns the base female weight for akRace

floatfunctionGetRaceStartingHealth(RaceakRace)NativeGlobal

Returns the starting health for akRace

floatfunctionGetRaceStartingMagicka(RaceakRace)NativeGlobal

Returns the starting magicka for akRace

floatfunctionGetRaceStartingStamina(RaceakRace)NativeGlobal

Returns the starting stamina for akRace

floatfunctionGetRaceCarryWeight(RaceakRace)NativeGlobal

Returns the base carry weight for akRace

floatfunctionGetRaceMass(RaceakRace)NativeGlobal

Returns the base mass for akRace

floatfunctionGetRaceHealthRegen(RaceakRace)NativeGlobal

Returns the base health regen for akRace

floatfunctionGetRaceMagickaRegen(RaceakRace)NativeGlobal

Returns the base magicka regen for akRace

floatfunctionGetRaceStaminaRegen(RaceakRace)NativeGlobal

Returns the base stamina regen for akRace

floatfunctionGetRaceUnarmedDamage(RaceakRace)NativeGlobal

Returns the base unarmed damage for akRace

floatfunctionGetRaceUnarmedReach(RaceakRace)NativeGlobal

String

boolfunctionContainsText(stringasText, stringasSubText)NativeGlobal

Returns whether asText contains asSubText (all Papyrus string comparisons are case-insensitive)

stringfunctionFormatFloat(stringasFormat, float[]argValues)NativeGlobal

Replaces {} tokens in asFormat with argValues (supports up to 9 values)
Note: Arrays exceeding the maximum number of values will be truncated.
Syntax: https://fmt.dev/latest/syntax.html

stringfunctionFormatInt(stringasFormat, int[]argValues)NativeGlobal

Replaces {} tokens in asFormat with argValues (supports up to 9 values)
Note: Arrays exceeding the maximum number of values will be truncated.
Syntax: https://fmt.dev/latest/syntax.html

stringfunctionFormatString(stringasFormat, string[]argValues)NativeGlobal

Replaces {} tokens in asFormat with argValues (supports up to 9 values)
Note: Arrays exceeding the maximum number of values will be truncated.
Syntax: https://fmt.dev/latest/syntax.html

stringfunctionIntToHex(intaiSource)NativeGlobal

Returns the hexadecimal string representation of aiSource

string[]functionSplitString(stringasSource, stringasDelimiter)NativeGlobal

Returns asSource as array of String split by asDelimiter

float[]functionStrToFloatArray(stringasSource, stringasDelimiter)NativeGlobal

Returns asSource as array of Float split by asDelimiter

int[]functionStrToIntArray(stringasSource, stringasDelimiter)NativeGlobal

Returns asSource as array of Int split by asDelimiter

stringfunctionWrapString(stringasSource, intaiMaxLength)NativeGlobal

Spell

intfunctionGetHighestMinSkillLevelForSpell(SpellakSpell)NativeGlobal

Time

floatfunctionGetCurrentHourOfDay()NativeGlobal

Returns hours passed since current day began

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