The DbSkseFunctions script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Dylbills Papyrus Functions (Dylbills PE).
For this script, the Papyrus index knows about:
- 1 event
- 216 functions
Inheritance Tree
No indexed scripts extend this script.
Properties
No properties found.
Events
- Found in:
- Dylbills PE
eventOnSoundFinish(FormSoundOrDescriptor, intinstanceID)sends the sound or soundDescriptor played and the instanceID
only works for sounds played from PlaySound or PlaySoundDescriptor from this script
Functions
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
get and set text from system clipboard, for copy / paste functionality
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
is the string c char whitespace? Uses c++ isspace function
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
does the mod have at least 1 form of formType?
- Found in:
- Dylbills PE
returns new form array that contains the forms of the passed in akForms array, but sorted.
Sort options are as follows. Note, to sort by editor Id reliably, po3 tweaks must be installed.
1 = by form name ascending,
2 = by form name descending,
3 = by form editor Id name ascending,
4 = by form editor Id name descending,
5 = by form Id ascending,
6 = by form Id descending- Found in:
- Dylbills PE
returns new form array that contains the forms in akList
Sort options are as follows. Note, to sort by editor Id reliably, po3 tweaks must be installed.
1 = by form name ascending,
2 = by form name descending,
3 = by form editor Id name ascending,
4 = by form editor Id name descending,
5 = by form Id ascending,
6 = by form Id descending- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
Add forms in akForms array to akList
- Found in:
- Dylbills PE
stringfunctionGetFormDescription(FormakForm, intmaxCharacters=0, stringoverMaxCharacterSuffix="..", stringnewLineReplacer="", intnoneStringType=0, stringnullFormString="ull")NativeGlobalif maxCharacters is greater than 0, limits the number of characters for descriptions.
If a description exceeds maxCharacters, adds the overMaxCharacterSuffix to the end of the description.
if newLineReplacer is not empty "", replaces new lines in description with newLineReplacer
if noneStringType is 1 and a description is empty, "", gets editorID instead of the description
if noneStringType is 2 and a description is empty, "", gets form ID instead of the description
if akForm is none, returns nullFormString- Found in:
- Dylbills PE
string[]functionGetFormDescriptions(Form[]akForms, intsortOption=0, intmaxCharacters=0, stringoverMaxCharacterSuffix="..", stringnewLineReplacer="", intnoneStringType=0, stringnullFormString="ull")NativeGlobalget form descriptions for akForms.
if maxCharacters is greater than 0, limits the number of characters for descriptions.
If a description exceeds maxCharacters, adds the overMaxCharacterSuffix to the end of the description.
if noneStringType is 1 and a description is empty, "", gets editorID instead of the description
if noneStringType is 2 and a description is empty, "", gets form ID instead of the description
if akForm is none, sets nullFormString for that form.
Sort options are as follows. Note, to sort by editor Id reliably, po3 tweaks must be installed.
0 = not sorted,
1 = sorted by description ascending,
2 = sorted by description descending,
3 = by form name ascending,
4 = by form name descending,
5 = by form editor Id name ascending,
6 = by form editor Id name descending,
7 = by form Id ascending,
8 = by form Id descending- Found in:
- Dylbills PE
string[]functionGetFormDescriptionsFromList(FormListakFormList, intsortOption=0, intmaxCharacters=0, stringoverMaxCharacterSuffix="..", stringnewLineReplacer="", intnoneStringType=0, stringnullFormString="ull")NativeGlobalget form descriptions for forms in akFormList.
if maxCharacters is greater than 0, limits the number of characters for descriptions.
If a description exceeds maxCharacters, adds the overMaxCharacterSuffix to the end of the description.
if noneStringType is 1 and a description is empty, "", gets editorID instead of the description
if noneStringType is 2 and a description is empty, "", gets form ID instead of the description
if akForm is none, sets nullFormString for that form.
Sort options are as follows. Note, to sort by editor Id reliably, po3 tweaks must be installed.
0 = not sorted,
1 = sorted by description ascending,
2 = sorted by description descending,
3 = by form name ascending,
4 = by form name descending,
5 = by form editor Id name ascending,
6 = by form editor Id name descending,
7 = by form Id ascending,
8 = by form Id descending- Found in:
- Dylbills PE
string[]functionGetFormNames(Form[]akForms, intsortOption=0, intnoneStringType=0, stringnullFormString="ull")NativeGlobalget form names for akForms
if noneStringType is 1 and a name is empty, "", gets editorID instead of name
if noneStringType is 2 and a name is empty, "", gets form ID instead of name
if a form is none, sets nullFormString for that form
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.- Found in:
- Dylbills PE
string[]functionGetFormNamesFromList(FormListakFormList, intsortOption=0, intnoneStringType=0, stringnullFormString="ull")NativeGlobalget form names for forms in akFormList
if noneStringType is 1 and a name is empty, "", gets editorID instead of name
if noneStringType is 2 and a name is empty, "", gets form ID instead of name
if a form is none, sets nullFormString for that form
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.- Found in:
- Dylbills PE
Get form editor Id name.
If akForm is none, returns nullFormString- Found in:
- Dylbills PE
string[]functionGetFormEditorIds(Form[]akForms, intsortOption=0, stringnullFormString="ull")NativeGlobalget form editor id names for akForms
if a form is none, sets nullFormString for that form
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.
Note, to get editor Ids reliably, po3 tweaks must be installed.- Found in:
- Dylbills PE
string[]functionGetFormEditorIdsFromList(FormListakFormList, intsortOption=0, stringnullFormString="ull")NativeGlobalget form editor id names for forms in akFormList
if a form is none, sets nullFormString for that form
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.
Note, to get editor Ids reliably, po3 tweaks must be installed.- Found in:
- Dylbills PE
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.
- Found in:
- Dylbills PE
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.
- Found in:
- Dylbills PE
Get all loaded mod names, (regular mods and light mods)
Sort options are as follows. 0 = not sorted, 1 = sorted by name ascending, 2 = sorted by name descending.- Found in:
- Dylbills PE
string[]functionGetLoadedModDescriptions(intsortOption=0, intmaxCharacters=0, stringoverMaxCharacterSuffix="..", stringnewLineReplacer="")NativeGlobalget loaded mod descriptions.
if maxCharacters is greater than 0, limits the number of characters for descriptions.
If a description exceeds maxCharacters, adds the overMaxCharacterSuffix to the end of the description.
Sort options are as follows. 0 = not sorted, 1 = sorted by Description ascending, 2 = sorted by Description descending, 3 sorted by mod name ascending, 4 = sorted by mod name descending.- Found in:
- Dylbills PE
string[]functionGetLoadedLightModDescriptions(intsortOption=0, intmaxCharacters=0, stringoverMaxCharacterSuffix="..", stringnewLineReplacer="")NativeGlobalget loaded light mod descriptions.
if maxCharacters is greater than 0, limits the number of characters for descriptions.
If a description exceeds maxCharacters, adds the overMaxCharacterSuffix to the end of the description.
Sort options are as follows. 0 = not sorted, 1 = sorted by Description ascending, 2 = sorted by Description descending, 3 sorted by mod name ascending, 4 = sorted by mod name descending.- Found in:
- Dylbills PE
string[]functionGetAllLoadedModDescriptions(intsortOption=0, intmaxCharacters=0, stringoverMaxCharacterSuffix="..", stringnewLineReplacer="")NativeGlobalget all loaded mod descriptions, (regular mods and light mods)
if maxCharacters is greater than 0, limits the number of characters for descriptions.
If a description exceeds maxCharacters, adds the overMaxCharacterSuffix to the end of the description.
Sort options are as follows. 0 = not sorted, 1 = sorted by Description ascending, 2 = sorted by Description descending, 3 sorted by mod name ascending, 4 = sorted by mod name descending.- Found in:
- Dylbills PE
get all constructible objects that create the createdObject.
if none is passed in, get's all constructible objects in game.- Found in:
- Dylbills PE
Get all armors in game that use the slotMask
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
Get all interior cells in game that match the akLocation and or akOwner
if matchMode == 0, get all cells in game where either the passed in akLocation or akOwner match.
if matchMode == 1, get all cells in game where both the passed in akLocation and akOwner match.
if matchMode == anything else, get all interior cells in game- Found in:
- Dylbills PE
Cell[]functionGetAllExteriorCells(LocationakLocation, WorldSpaceakWorldSpace, intmatchMode=0)NativeGlobalGet all exterior cells in game that match the akLocation and or akWorldSpace
if matchMode == 0, get all cells in game where either the passed in akLocation or akWorldSpace match.
if matchMode == 1, get all cells in game where both the passed in akLocation and akWorldSpace match.
if matchMode == anything else, get all interior cells in game- Found in:
- Dylbills PE
Get all cells currently attached
- Found in:
- Dylbills PE
Get forms currently favorited by the player
formTypeMatchMode 1 = forms who match a type in formTypes.
formTypeMatchMode 0 = forms that match none of the types in formTypes.
formTypeMatchMode -1 (or if formTypes == none) = formType filter is ignored completely, get all favorited forms regardless of type.- Found in:
- Dylbills PE
Form[]functionGetAllFormsWithName(stringsFormName, intnameMatchMode=0, int[]formTypes=NONE, intformTypeMatchMode=1)NativeGlobalGet all forms who's name (with GetName()) match the sFormName.
nameMatchMode 0 = exact match, 1 = name contains sFormName.
formTypeMatchMode 1 = forms who match a type in formTypes.
formTypeMatchMode 0 = forms that match none of the types in formTypes.
formTypeMatchMode -1 (or if formTypes == none) = formType filter is ignored completely, get all forms regardless of type that match (or contain) sFormName.- Found in:
- Dylbills PE
Form[]functionGetAllFormsWithScriptAttached(stringsScriptName, int[]formTypes=NONE, intformTypeMatchMode=0)NativeGlobalformTypeMatchMode 1 = forms that have a type in formTypes.
formTypeMatchMode 0 = forms that do not have a type in formTypes.
formTypeMatchMode -1 (or if formTypes == none) = formType filter is ignored completely, get all forms regardless of type that have the script with sScriptName attached- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
ReferenceAlias[]functionGetAllRefAliasesWithScriptAttached(stringsScriptName, boolonlyQuestObjects=false, boolonlyFilled=false)NativeGlobal- Found in:
- Dylbills PE
Get all quests in game currently being tracked by the player.
- Found in:
- Dylbills PE
ReferenceAlias[]functionGetAllRefaliases(boolonlyQuestObjects=false, boolonlyFilled=false)NativeGlobalGet all ReferenceAlias's in game.
if onlyQuestObjects is true, only gets ref alias's that have the Quest Object box checked
if onlyFilled is true, only gets ref alias's that are filled with a valid object reference.- Found in:
- Dylbills PE
Get all references aliases that are currently filled with the ref.
- Found in:
- Dylbills PE
Get all quest object references in game
- Found in:
- Dylbills PE
Get all quest object references in the containerRef
- Found in:
- Dylbills PE
Get all persistent object references in the containerRef, regardless if they're quest objects or not.
Object refs must be persistent to be in a container.- Found in:
- Dylbills PE
Sets or clears the Quest Object flag for the akAlias. Returns true if successful
- Found in:
- Dylbills PE
Does the akAlias have the quest obect flag checked?
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
boolfunctionSetProjectileBaseCollisionConeSpread(ProjectileakProjectile, floatconeSpread)NativeGlobal- Found in:
- Dylbills PE
get the type of the projectileRef
projectile types are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow, 0 = unrecognized.- Found in:
- Dylbills PE
get projectiles currently attached to the ref
only works if the ref is an actor- Found in:
- Dylbills PE
get projectile object references attached to the ref
only works if the ref is not an actor- Found in:
- Dylbills PE
ObjectReference[]functionGetAllHitProjectileRefsOfType(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobalget all projectile object references that hit the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns all projectiles that have hit the ref regardless of type.- Found in:
- Dylbills PE
ObjectReference[]functionGetAllShotProjectileRefsOfType(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobalget all projectile object references that were shot by the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns all projectiles that the ref has shot regardless of type.- Found in:
- Dylbills PE
ObjectReference[]functionGetRecentProjectileHitRefs(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobalget recent projectile object references that hit the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns all recent projectiles that have hit the ref regardless of type.
requires iMaxArrowsSavedPerReference to be set to greater than 0 in DbSkseFunctions.ini- Found in:
- Dylbills PE
ObjectReferencefunctionGetLastProjectileHitRef(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobalget the last projectile object reference that hit the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns the last projectile that hit the ref regardless of type
requires iMaxArrowsSavedPerReference to be set to greater than 0 in DbSkseFunctions.ini- Found in:
- Dylbills PE
ObjectReference[]functionGetRecentProjectileShotRefs(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobalget recent projectile object references that were shot by the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns all recent projectiles that the ref has shot regardless of type.
requires iMaxArrowsSavedPerReference to be set to greater than 0 in DbSkseFunctions.ini- Found in:
- Dylbills PE
ObjectReferencefunctionGetLastProjectileShotRef(ObjectReferenceref, boolonly3dLoaded=true, boolonlyEnabled=true, intprojectileType=7)NativeGlobalget the last projectile object reference that was shot by the ref that match the conditions.
projectileTypes are: 1 = Missile, 2 = Grenade, 3 = Beam, 4 = Flamethrower, 5 = Cone, 6 = Barrier, 7 = Arrow.
if the projectileType param is none of those types, returns the last projectile was shot by the ref regardless of type
requires iMaxArrowsSavedPerReference to be set to greater than 0 in DbSkseFunctions.ini- Found in:
- Dylbills PE
get the object reference(s) that the projectileRef hit (collided with). Most of the time this is 1 object, sometimes it's more.
- Found in:
- Dylbills PE
get the object reference that shot the projectileRef
- Found in:
- Dylbills PE
Get the ammo that the projectileRef was shot with if any
- Found in:
- Dylbills PE
Get the poison the projectileRef was shot with if any
- Found in:
- Dylbills PE
Get the enchantment the projectileRef was shot with if any
- Found in:
- Dylbills PE
Get the magic item that shot the projectileRef if any
Most likely a spell or shout- Found in:
- Dylbills PE
Get the weapon that the projectileRef was shot from if any
Most likely a bow or crossbow.- Found in:
- Dylbills PE
Get the damage of the weapon that shot the projectileRef if any
- Found in:
- Dylbills PE
get the explosion for the projectileRef, if any.
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
impactResults are: 0 = none, 1 = destroy, 2 = bounce, 3 = impale, 4 = stick
- Found in:
- Dylbills PE
get the node names that the projectileRef has hit.
these only seem to be valid if the projectileRef hit an actor.
i.e "NPC Head [Head]", "NPC Spine1 [Spn1]" ect.- Found in:
- Dylbills PE
get the collision layers the projectileRef has collided with
- Found in:
- Dylbills PE
get names of the collision layers the projectileRef has collided with
- Found in:
- Dylbills PE
get the string of the collision layer. i.e "Biped", "static", "trees" ect
names are as follows:
Unidentified = 0,
Static = 1,
AnimStatic = 2,
Transparent = 3,
Clutter = 4,
Weapon = 5,
Projectile = 6,
Spell = 7,
Biped = 8,
Trees = 9,
Props = 10,
Water = 11,
Trigger = 12,
Terrain = 13,
Trap = 14,
NonCollidable = 15,
CloudTrap = 16,
Ground = 17,
Portal = 18,
DebrisSmall = 19,
DebrisLarge = 20,
AcousticSpace = 21,
ActorZone = 22,
ProjectileZone = 23,
GasTrap = 24,
ShellCasting = 25,
TransparentWall = 26,
InvisibleWall = 27,
TransparentSmallAnim = 28,
ClutterLarge = 29,
CharController = 30,
StairHelper = 31,
DeadBip = 32,
BipedNoCC = 33,
AvoidBox = 34,
CollisionBox = 35,
CameraSphere = 36,
DoorDetection = 37,
ConeProjectile = 38,
Camera = 39,
ItemPicker = 40,
LOS = 41,
PathingPick = 42,
Unused0 = 43,
Unused1 = 44,
SpellExplosion = 45,
DroppingPick = 46- Found in:
- Dylbills PE
Get the last object reference that the player activated
Requires the bActivateEventSinkEnabledByDefault setting in the DbSkseFunctions.ini file to be enabled.- Found in:
- Dylbills PE
Get the last object reference that the player activated after a menu was opened
Requires the bMenuOpenCloseEventSinkEnabled and bActivateEventSinkEnabledByDefault settings in the DbSkseFunctions.ini file to be enabled.- Found in:
- Dylbills PE
If the ref is an ashpile, gets the actor linked to it, if any. If the ref is an actor, gets the ashpile linked to it, if any.
- Found in:
- Dylbills PE
Get the enable parent of the ref, if there is one.
- Found in:
- Dylbills PE
ObjectReferencefunctionGetClosestObjectFromRef(ObjectReferenceref, ObjectReference[]refs)NativeGlobalGet the closest object reference in the refs array to the ref
- Found in:
- Dylbills PE
Get the index of the closest object reference in the refs array to the ref
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
Calculate how many real time seconds it will take for gameHours to pass based on current time scale.
Example - with default time scale (20), GameHoursToRealTimeSeconds(1) returns 180.0- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
returns true if a menu is open, (other than the hud menu which is always open), regardless if the game is paused or not.
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
forces item menus to update if they are open (inventory, container, barter ect...)
To display any changes made to items while an item menu is open, such as changing an item's name.- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
differs from consoleUtil.ExecuteCommand in that you can execute a targeted command on a passed in ref.
if ref == none and command is targeted command, runs command on console selected ref like normal.
If no console selected ref, or is not a targeted command, executes command like normal.- Found in:
- Dylbills PE
does the ref have collision?
- Found in:
- Dylbills PE
toggle collision on ref using tcl console command
requires powerofthree's Tweaks to work.
https://www.nexusmods.com/skyrimspecialedition/mods/51073?tab=description- Found in:
- Dylbills PE
enable or disable collision on ref using tcl console command
requires powerofthree's Tweaks to work.- Found in:
- Dylbills PE
set the max Soul size the soulGem (base form) can hold. 0 = no soul up to 5 = grand.
- Found in:
- Dylbills PE
can the soulGem hold an NPC soul? I.E is it a black soul gem?
- Found in:
- Dylbills PE
set soul gem can hold npc soul, I.E make it a black soul gem or not.
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
add shout to player if necessary and unlock all of its Words
- Found in:
- Dylbills PE
voidfunctionAddAndUnlockAllShouts(intminNumberOfWordsWithTranslations=0, boolonlyShoutsWithNames=false, boolonlyShoutsWithDescriptions=false)NativeGlobaladd and unlock all shouts to the player that match the param filters.
default is adding and unlocking ALL shouts found in game to player- Found in:
- Dylbills PE
furniture workbench types are:
None = 0,
CreateObject = 1,
SmithingWeapon = 2,
Enchanting = 3,
EnchantingExperiment = 4,
Alchemy = 5,
AlchemyExperiment = 6,
SmithingArmor = 7- Found in:
- Dylbills PE
return string will be an actor value skill such as "smithing", "enchanting" ect.
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
sets the skill book teaches. If skill is "", removes TeachesSkill flag from book. (Book will no longer teach a skill.)
not save persistent, use a load game event for maintenance- Found in:
- Dylbills PE
get all books that teach the skill
- Found in:
- Dylbills PE
add all books that teach skill to akList
- Found in:
- Dylbills PE
Sets spell book tome teaches. If akSpell is none, removes TeachesSpell flag from book. (Book will no longer teach a spell.)
not save persistent, use a load game event for maintenance- Found in:
- Dylbills PE
get the first spell tome found that teaches akSpell, or none if not found.
- Found in:
- Dylbills PE
get all spell tomes that teach akSpell, or empty array if none found.
- Found in:
- Dylbills PE
add all spell tomes that teach akSpell to akList
- Found in:
- Dylbills PE
if read is true, set akBook as 'read', otherwise set akBook as 'unread'
if read is false and akBook is a skill book, the skill from the book can be increased again when reading.- Found in:
- Dylbills PE
if read is true, set all books in game as 'read', otherwise set all books in game as 'unread'
- Found in:
- Dylbills PE
get source that the ActiveMagicEffect came from
Could be a spell, enchantment, potion, or ingredient. Use GetType() to find out which.- Found in:
- Dylbills PE
-1 = not applicable or not found
0 = conditions not met, the active effect is not affecting the reference it's on.
1 = conditions met, the active effect is affecting the reference it's on- Found in:
- Dylbills PE
Get casting source that the ActiveMagicEffect came from
LeftHand = 0,
RightHand = 1,
Other = 2, (most likely shout)
Instant = 3- Found in:
- Dylbills PE
get magic effects for akForm, assuming akForm is a magic item such as a spell, potion, shout, enchantment, scroll ect...
- Found in:
- Dylbills PE
is the form a magic item such as spell, potion, shout, enchantment, scroll ect...?
- Found in:
- Dylbills PE
boolfunctionIsMagicEffectActiveOnRef(ObjectReferenceref, MagicEffectakMagicEffect, FormmagicSource=NONE)NativeGlobalis the akMagicEffect currently affecting the ref?
if magicSource is not none, only returns true if the activeMagicEffect matches the akMagicEffect and it's condition status is true and comes from the magicSource (spell, shout, potion ect)
Otherwise, returns true if activeMagicEffect matches the akMagicEffect and it's condition status is true regardless of source.- Found in:
- Dylbills PE
voidfunctionDispelMagicEffectOnRef(ObjectReferenceref, MagicEffectakMagicEffect, FormmagicSource=NONE)NativeGlobalif magicSource is not none, only dispels effects that come from the magicSource (spell, shout, potion ect)
Otherwise, dispels all activeMagicEffects that match the akMagicEffect- Found in:
- Dylbills PE
would the akActor be stealing the akTarget if they took it?
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
ward states are 0 = none, 1 = absorbing, 2 = break
- Found in:
- Dylbills PE
Same as the IsPCSleeping condition. Returns true if the player is sleeping
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
[0] = x, [1] = y, [2] = z
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
doesn't carry over between saves. Use load game event for maintenace
- Found in:
- Dylbills PE
create new forms of these types at runtime.
carefull with these. Using these functions are like using PlaceAtMe to create permanent references.
Making too many of these may cause save game bloat, so use sparingly.- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
Create new sound. to set the sound, use Papyrus Extender, 'Po3_SkseFunctions.SetSoundDescriptor(newSoundMarker, akSoundDescriptor)'
- Found in:
- Dylbills PE
intfunctionPlaySound(SoundakSound, ObjectReferenceakSource, floatvolume=1.0, FormeventReceiverForm=NONE, AliaseventReceiverAlias=NONE, ActiveMagicEffecteventReceiverActiveEffect=NONE)NativeGlobalPlaySound / PlaySoundDescriptor returns instanceID like Sound.play(), but you can pass in a form, alias or activeMagicEffect to receive the OnSoundFinish Event.
Example, if your script extends form:
DbSkseFunctions.PlaySound(akSound, Game.GetPlayer(), 1.0, self) ;play sound and receive the OnSoundFinish event when sound finishes playing.
You can also set a start volume.- Found in:
- Dylbills PE
intfunctionPlaySoundDescriptor(SoundDescriptorakSoundDescriptor, ObjectReferenceakSource, floatvolume=1.0, FormeventReceiverForm=NONE, AliaseventReceiverAlias=NONE, ActiveMagicEffecteventReceiverActiveEffect=NONE)NativeGlobal- Found in:
- Dylbills PE
set the sound source for the currently playing soundId to the passed in ref.
this function will only work for sounds playing from PlaySound or PlaySoundDescriptor from this script
I also found a strange bug. If the sound's source is the player and the player is in first person, this function will fail to set the ref as the new source.
If however the player is in third person, this function will succeed in setting the ref as the new source for the sound instanceID- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
SoundCategoryfunctionGetSoundCategoryForSoundDescriptor(SoundDescriptorakSoundDescriptor)NativeGlobal- Found in:
- Dylbills PE
voidfunctionSetSoundCategoryForSoundDescriptor(SoundDescriptorakSoundDescriptor, SoundCategoryakSoundCategory)NativeGlobal- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
get MusicType that's currently playing
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
get the current track index queued in akMusicType
- Found in:
- Dylbills PE
if the akMusicType is currently playing, it will jump to the track index passed in.
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
MusicTypeStatus is as follows
kInactive = 0
kPlaying = 1
kPaused = 2
kFinishing = 3
kFinished = 4- Found in:
- Dylbills PE
returns true if Ref has map data.
- Found in:
- Dylbills PE
For these functions the MapMarker ObjectReference must be a map marker with map marker data.
In other words, IsMapMarker must return true;- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
Get is the vanilla ObjectReference function mapMarker.IsMapMarkerVisible()
- Found in:
- Dylbills PE
Get is the vanilla ObjectReference function mapMarker.CanFastTravelToMarker()
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
This function is usefull if you have to move a map marker from one worldspace to another using MoveTo and have it display on the world map.
This function will only be successfull if the passed in ref has been moved from its original worldspace or interior cell so...
use moveto on the ref first before this function is used.- Found in:
- Dylbills PE
ObjectReference[]functionGetCurrentMapMarkerRefs(intvisibleFilter=-1, intcanTravelToFilter=-1)NativeGlobalget all map marker refs valid for the current world space or interior cell grid, (can potentially be viewed on the current map)
for the filter params:
-1 = filter is ignored
0 = (false) only get markers that are not visible or can't be fast traveled to
1 = (true) only get markers that are visible or that can be fast traveled to- Found in:
- Dylbills PE
ObjectReference[]functionGetAllMapMarkerRefs(intvisibleFilter=-1, intcanTravelToFilter=-1)NativeGlobalget all map marker refs in game
for the filter params:
-1 = filter is ignored
0 = (false) only get markers that are not visible or can't be fast traveled to
1 = (true) only get markers that are visible or that can be fast traveled to- Found in:
- Dylbills PE
This function isn't working yet. Technically it's being set successfully internally but can't get it to display in game.
At least with VisualEffect.play(). I'm working on a fix for this.- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
this only works on models that have a new texture sets applied to them. The int n is the index of the model with the override texture set.
- Found in:
- Dylbills PE
get all forms that use the akTextureSet.
If modName != "", only gets forms from that mod, otherwise gets all forms in game that use the textureset- Found in:
- Dylbills PE
get all enable children for the ref. See also objectReference.GetEnableParentRef()
- Found in:
- Dylbills PE
get all container refs, including actors, that have at least 1 of the akForm in their inventory.
- Found in:
- Dylbills PE
Get all target members that the UI target has.
Example, start with "GetUiTargetMembers("InventoryMenu", "_root)"
This will get all target members that _root has. One will be Menu_mc.
Then you can do "GetUiTargetMembers("InventoryMenu", "_root.Menu_mc)"
And so on and so forth. Another good starting place is for example "GetUiTargetMembers("InventoryMenu", "_global)"- Found in:
- Dylbills PE
This is the same as GetUiTargetMembers except it gets the type, current value and full target path of members.
Example, start with "UI.GetUiTargetMembers("InventoryMenu", "_root.Menu_mc)"
One string in the array will be "type[bool] value[true] member[_root.Menu_mc._visible]"- Found in:
- Dylbills PE
types are:
Undefined = 0
Null = 1
Boolean = 2
Number = 3
String = 4
StringW = 5
Object = 6
Array = 7
DisplayObject = 8- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
Instead of UI.GetBool, UI.GetString ect, gets the current value of the target as string. Bools will be "true" or "false".
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
voidfunctionLogAnimationVariables(ObjectReferenceref, string[]variables=NONE, inttype=3)NativeGlobalLog the animation variables in the variables array for the ref.
Valid types are: 0 = bool, 1 = int, 2 = float, 3 (default) = log all types.
If variables == none (default) logs default variables from the CK wiki page for the type, or all variables from the wiki if type is 3.
CK wiki page: (https://www.creationkit.com/index.php?title=List_of_Animation_Variables). To see which default variables are logged see the
DbAnimationVariableBools.txt, DbAnimationVariableInts.txt and DbAnimationVariableFloats.txt files in Data/Interface/DbMiscFunctions.- Found in:
- Dylbills PE
Log all animation variables and their values for the ref
- Found in:
- Dylbills PE
Log all animations for the ref, to use with:
objectReference.PlayAnimation, objectReference.playAnimationAndWait, RegisterForAnimationEvent, OnAnimationEvent ect.- Found in:
- Dylbills PE
Log all animation attributes for the ref, to use with:
- Found in:
- Dylbills PE
Log all animation character properties for the ref, to use with:
- Found in:
- Dylbills PE
get the top level base 3d node name for ref
- Found in:
- Dylbills PE
This will also log the names to C:/Users/YourUserName/Documents/My Games/Skyrim Special Edition/SKSE/DbSkseFunctions.log
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
- Found in:
- Dylbills PE
