Background for Skyrim SE

NiOverride


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
intfunctionGetScriptVersion()Global
boolfunctionHasOverride(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal

ObjectReference must be an Actor
Overrides will clean themselves if the Armor or ArmorAddon no longer exists (i.e. you uninstalled the mod they were associated with)

voidfunctionAddOverrideFloat(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex, floatvalue, boolpersist)NativeGlobal
voidfunctionAddOverrideInt(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex, intvalue, boolpersist)NativeGlobal
voidfunctionAddOverrideBool(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex, boolvalue, boolpersist)NativeGlobal
voidfunctionAddOverrideString(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex, stringvalue, boolpersist)NativeGlobal
voidfunctionAddOverrideTextureSet(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex, TextureSetvalue, boolpersist)NativeGlobal
floatfunctionGetOverrideFloat(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal

Gets the saved override value

intfunctionGetOverrideInt(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
boolfunctionGetOverrideBool(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
stringfunctionGetOverrideString(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
TextureSetfunctionGetOverrideTextureSet(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
floatfunctionGetPropertyFloat(ObjectReferenceref, boolfirstPerson, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal

Gets the property straight from the node (Handy if you need the current value if an override D.N.E yet)

intfunctionGetPropertyInt(ObjectReferenceref, boolfirstPerson, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
boolfunctionGetPropertyBool(ObjectReferenceref, boolfirstPerson, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
stringfunctionGetPropertyString(ObjectReferenceref, boolfirstPerson, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal
boolfunctionHasArmorAddonNode(ObjectReferenceref, boolfirstPerson, Armorarm, ArmorAddonaddon, stringnode, booldebug=false)NativeGlobal

Returns whether the specified node could be found for the given parameters
Debug will report errors to NiOverrides log file

voidfunctionApplyOverrides(ObjectReferenceref)NativeGlobal

Applies all armor properties visually to the actor, this shouldn't be necessary under normal circumstances

boolfunctionHasNodeOverride(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal

ObjectReference must be an Actor (These could work for non-actor objects, untested)
ADVANCED USE ONLY, THESE DO NOT SELF CLEANUP IF THE NODE IS NOT FOUND
Returns whether there is an override for this particular node

voidfunctionAddNodeOverrideFloat(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex, floatvalue, boolpersist)NativeGlobal
voidfunctionAddNodeOverrideInt(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex, intvalue, boolpersist)NativeGlobal
voidfunctionAddNodeOverrideBool(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex, boolvalue, boolpersist)NativeGlobal
voidfunctionAddNodeOverrideString(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex, stringvalue, boolpersist)NativeGlobal
voidfunctionAddNodeOverrideTextureSet(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex, TextureSetvalue, boolpersist)NativeGlobal
floatfunctionGetNodeOverrideFloat(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal

Return the stored override, returns default (nil) values if the override D.N.E

intfunctionGetNodeOverrideInt(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal
boolfunctionGetNodeOverrideBool(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal
stringfunctionGetNodeOverrideString(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal
TextureSetfunctionGetNodeOverrideTextureSet(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal
floatfunctionGetNodePropertyFloat(ObjectReferenceref, boolfirstPerson, stringnode, intkey, intindex)NativeGlobal

Gets the property straight from the node (Handy if you need the current value if an override D.N.E yet)

intfunctionGetNodePropertyInt(ObjectReferenceref, boolfirstPerson, stringnode, intkey, intindex)NativeGlobal
boolfunctionGetNodePropertyBool(ObjectReferenceref, boolfirstPerson, stringnode, intkey, intindex)NativeGlobal
stringfunctionGetNodePropertyString(ObjectReferenceref, boolfirstPerson, stringnode, intkey, intindex)NativeGlobal
voidfunctionApplyNodeOverrides(ObjectReferenceref)NativeGlobal

Applies all node properties visually to the actor, this shouldn't be necessary under normal circumstances

boolfunctionHasWeaponOverride(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal

Version 3 (Weapon Overrides)

ObjectReference must be an Actor
If a weapon is templated it will inherit the properties of its parent first
Note that the player seems to be a special-case where they use the first person model for both first and third person

Overrides will clean themselves if the Weapon no longer exists (i.e. you uninstalled the mod they were associated with)

voidfunctionAddWeaponOverrideFloat(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex, floatvalue, boolpersist)NativeGlobal
voidfunctionAddWeaponOverrideInt(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex, intvalue, boolpersist)NativeGlobal
voidfunctionAddWeaponOverrideBool(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex, boolvalue, boolpersist)NativeGlobal
voidfunctionAddWeaponOverrideString(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex, stringvalue, boolpersist)NativeGlobal
voidfunctionAddWeaponOverrideTextureSet(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex, TextureSetvalue, boolpersist)NativeGlobal
floatfunctionGetWeaponOverrideFloat(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal

Gets the saved override value

intfunctionGetWeaponOverrideInt(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
boolfunctionGetWeaponOverrideBool(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
stringfunctionGetWeaponOverrideString(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
TextureSetfunctionGetWeaponOverrideTextureSet(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
floatfunctionGetWeaponPropertyFloat(ObjectReferenceref, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal

Gets the property straight from the node (Handy if you need the current value if an override D.N.E yet)

intfunctionGetWeaponPropertyInt(ObjectReferenceref, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
boolfunctionGetWeaponPropertyBool(ObjectReferenceref, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
stringfunctionGetWeaponPropertyString(ObjectReferenceref, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal
boolfunctionHasWeaponNode(ObjectReferenceref, boolfirstPerson, Weaponweap, stringnode, booldebug=false)NativeGlobal

Returns whether the specified node could be found for the given parameters
Debug will report errors to NiOverrides log file

voidfunctionApplyWeaponOverrides(ObjectReferenceref)NativeGlobal

Applies all armor properties visually to the actor, this shouldn't be necessary under normal circumstances

boolfunctionHasSkinOverride(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal

Version 6 (Skin Overrides)

ObjectReference must be an Actor

voidfunctionAddSkinOverrideFloat(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex, floatvalue, boolpersist)NativeGlobal
voidfunctionAddSkinOverrideInt(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex, intvalue, boolpersist)NativeGlobal
voidfunctionAddSkinOverrideBool(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex, boolvalue, boolpersist)NativeGlobal
voidfunctionAddSkinOverrideString(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex, stringvalue, boolpersist)NativeGlobal
voidfunctionAddSkinOverrideTextureSet(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex, TextureSetvalue, boolpersist)NativeGlobal
floatfunctionGetSkinOverrideFloat(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal

Gets the saved override value

intfunctionGetSkinOverrideInt(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
boolfunctionGetSkinOverrideBool(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
stringfunctionGetSkinOverrideString(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
TextureSetfunctionGetSkinOverrideTextureSet(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
floatfunctionGetSkinPropertyFloat(ObjectReferenceref, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal

Gets the property straight from the node (Handy if you need the current value if an override D.N.E yet)

intfunctionGetSkinPropertyInt(ObjectReferenceref, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
boolfunctionGetSkinPropertyBool(ObjectReferenceref, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
stringfunctionGetSkinPropertyString(ObjectReferenceref, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal
voidfunctionApplySkinOverrides(ObjectReferenceref)NativeGlobal

Applies all skin properties visually to the actor, this shouldn't be necessary under normal circumstances

voidfunctionRemoveAllOverrides()NativeGlobal

Removes ALL Armor based overrides from ALL actors (Global purge)

voidfunctionRemoveAllReferenceOverrides(ObjectReferenceref)NativeGlobal

Removes all Armor based overrides for a particular actor

voidfunctionRemoveAllArmorOverrides(ObjectReferenceref, boolisFemale, Armorarm)NativeGlobal

Removes all ArmorAddon overrides for a particular actor and armor

voidfunctionRemoveAllArmorAddonOverrides(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon)NativeGlobal

Removes all overrides for a particular actor, armor, and addon

voidfunctionRemoveAllArmorAddonNodeOverrides(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode)NativeGlobal

Removes all overrides for a particukar actor, armor, addon, and nodeName

voidfunctionRemoveOverride(ObjectReferenceref, boolisFemale, Armorarm, ArmorAddonaddon, stringnode, intkey, intindex)NativeGlobal

Removes one particular override from an actor, armor, addon, node name, key, index

voidfunctionRemoveAllNodeOverrides()NativeGlobal

Removes ALL Node based overrides for ALL actors (Global purge)

Removes all Node based overrides for a particular actor

voidfunctionRemoveAllNodeNameOverrides(ObjectReferenceref, boolisFemale, stringnode)NativeGlobal

Removes all Node based overrides for a particular actor, gender, and nodeName

voidfunctionRemoveNodeOverride(ObjectReferenceref, boolisFemale, stringnode, intkey, intindex)NativeGlobal

Removes one particular override from an actor, of a particular gender, nodeName, key, and index

voidfunctionRemoveAllWeaponBasedOverrides()NativeGlobal

Removes ALL weapon based overrides from ALL actors (Global purge)

Removes all weapon based overrides for a particular actor

voidfunctionRemoveAllWeaponOverrides(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap)NativeGlobal

Removes all weapon overrides for a particular actor, gender, view, and weapon

voidfunctionRemoveAllWeaponNodeOverrides(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode)NativeGlobal

Removes all overrides for a particukar actor, gender, view, weapon, and nodeName

voidfunctionRemoveWeaponOverride(ObjectReferenceref, boolisFemale, boolfirstPerson, Weaponweap, stringnode, intkey, intindex)NativeGlobal

Removes a particular weapon override

voidfunctionRemoveAllSkinBasedOverrides()NativeGlobal

Removes ALL skin based overrides from ALL actors (Global purge)

Removes all skin based overrides for a particular actor

voidfunctionRemoveAllSkinOverrides(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask)NativeGlobal

Removes all skin overrides for a particular actor, gender, view, and weapon

voidfunctionRemoveSkinOverride(ObjectReferenceref, boolisFemale, boolfirstPerson, intslotMask, intkey, intindex)NativeGlobal

Removes a particular skin override

intfunctionGetNumBodyOverlays()NativeGlobal

Overlay Data

intfunctionGetNumHandOverlays()NativeGlobal
intfunctionGetNumFeetOverlays()NativeGlobal
intfunctionGetNumFaceOverlays()NativeGlobal
intfunctionGetNumSpellBodyOverlays()NativeGlobal
intfunctionGetNumSpellHandOverlays()NativeGlobal
intfunctionGetNumSpellFeetOverlays()NativeGlobal
intfunctionGetNumSpellFaceOverlays()NativeGlobal
voidfunctionAddOverlays(ObjectReferenceref)NativeGlobal

Adds all enabled overlays to an Actor (Cannot add to player, always exists for player)

boolfunctionHasOverlays(ObjectReferenceref)NativeGlobal

Returns whether this actor has overlays enabled (Always true for player)

voidfunctionRemoveOverlays(ObjectReferenceref)NativeGlobal

Removes overlays from an actor (Cannot remove from player)

voidfunctionRevertOverlays(ObjectReferenceref)NativeGlobal

Restores the original non-diffuse skin textures to skin overlays

voidfunctionRevertOverlay(ObjectReferenceref, stringnodeName, intarmorMask, intaddonMask)NativeGlobal

Restores the original non-diffuse skin textures to particular overlay
Valid masks: Combining masks not recommended
4 - Body
8 - Hands
128 - Feet

voidfunctionRevertHeadOverlays(ObjectReferenceref)NativeGlobal

Restores the original non-diffuse skin textures to all head overlays

voidfunctionRevertHeadOverlay(ObjectReferenceref, stringnodeName, intpartType, intshaderType)NativeGlobal

Restores the original non-diffuse skin textures to particular overlay
Valid partTypes
1 - Face
Valid shaderTypes
4 - FaceTint

voidfunctionSetMorphValue(ObjectReferenceref, stringmorphName, floatvalue)Global

Sets a body morph value on an actor

floatfunctionGetMorphValue(ObjectReferenceref, stringmorphName)Global

Gets a body morph value on an actor

voidfunctionClearMorphValue(ObjectReferenceref, stringmorphName)Global

Clears a body morph value on an actor

boolfunctionHasBodyMorph(ObjectReferenceref, stringmorphName, stringkeyName)NativeGlobal

Returns true if there are any body morphs with this key and name

voidfunctionSetBodyMorph(ObjectReferenceref, stringmorphName, stringkeyName, floatvalue)NativeGlobal

Sets a body morph value on an actor

floatfunctionGetBodyMorph(ObjectReferenceref, stringmorphName, stringkeyName)NativeGlobal

Gets a body morph value on an actor

voidfunctionClearBodyMorph(ObjectReferenceref, stringmorphName, stringkeyName)NativeGlobal

Clears a body morph value on an actor

boolfunctionHasBodyMorphKey(ObjectReferenceref, stringkeyName)NativeGlobal

Returns true if there are any body morphs with this key

voidfunctionClearBodyMorphKeys(ObjectReferenceref, stringkeyName)NativeGlobal

Clears all body morphs with this key

boolfunctionHasBodyMorphName(ObjectReferenceref, stringkeyName)NativeGlobal

Returns true if there are any body morphs with this name

voidfunctionClearBodyMorphNames(ObjectReferenceref, stringmorphName)NativeGlobal

Clears all body morphs with this name

voidfunctionClearMorphs(ObjectReferenceref)NativeGlobal

Clears all body morphs for an actor

voidfunctionUpdateModelWeight(ObjectReferenceref)NativeGlobal

Updates the weight data post morph value
only to be used on actors who have morph values set

string[]functionGetMorphNames(ObjectReferenceref)NativeGlobal

Returns all Body Morph names applied to the reference

string[]functionGetMorphKeys(ObjectReferenceref, stringmorphName)NativeGlobal

Returns all Body Morph keys applied for the morph name

ObjectReference[]functionGetMorphedReferences()NativeGlobal

Returns all References currently being morphed

voidfunctionForEachMorphedReference(stringcallback, Formtarget)NativeGlobal

Calls the function by name on target for each morphed reference

voidfunctionEnableTintTextureCache()NativeGlobal

Call this function prior to frequent changes in dyes to prevent massive lag

voidfunctionReleaseTintTextureCache()NativeGlobal

Call this when finished frequent dye edits

intfunctionGetItemUniqueID(ObjectReferenceakActor, intweaponSlot, intslotMask, boolmakeUnique=true)NativeGlobal

Returns a number for a unique item, if the item is not unique it will be made unique, returns 0 when invalid

intfunctionGetObjectUniqueID(ObjectReferenceakObject, boolmakeUnique=true)NativeGlobal

Returns a number for a unique item in the world, when it's placed in inventory it will maintain this ID

FormfunctionGetFormFromUniqueID(intuniqueId)NativeGlobal

Returns the base form associated with this uniqueId

FormfunctionGetOwnerOfUniqueID(intuniqueId)NativeGlobal

Returns the reference that is holding the item described by this uniqueId
If the item is in the world, it will return the world reference of itself
If the item is inside of an inventory, it will return the reference of the inventory

voidfunctionSetItemDyeColor(intuniqueId, intmaskIndex, intcolor)NativeGlobal

Dye Functions
Uses the uniqueId acquired from GetItemUniqueID

intfunctionGetItemDyeColor(intuniqueId, intmaskIndex)NativeGlobal
voidfunctionClearItemDyeColor(intuniqudId, intmaskIndex)NativeGlobal
voidfunctionUpdateItemDyeColor(ObjectReferenceakActor, intuniqueId)NativeGlobal

Regenerates the tintmask of the dyed object, use after assigning/clearing dye colors

voidfunctionSetItemTextureLayerColor(intuniqueId, inttextureIndex, intlayer, intcolor)NativeGlobal

v2 Dye Functions
Uses the uniqueId acquired from GetItemUniqueID

intfunctionGetItemTextureLayerColor(intuniqueId, inttextureIndex, intlayer)NativeGlobal
voidfunctionClearItemTextureLayerColor(intuniqudId, inttextureIndex, intlayer)NativeGlobal
voidfunctionSetItemTextureLayerType(intuniqueId, inttextureIndex, intlayer, inttype)NativeGlobal
intfunctionGetItemTextureLayerType(intuniqueId, inttextureIndex, intlayer)NativeGlobal
voidfunctionClearItemTextureLayerType(intuniqudId, inttextureIndex, intlayer)NativeGlobal
voidfunctionSetItemTextureLayerTexture(intuniqueId, inttextureIndex, intlayer, stringtexture)NativeGlobal
stringfunctionGetItemTextureLayerTexture(intuniqueId, inttextureIndex, intlayer)NativeGlobal
voidfunctionClearItemTextureLayerTexture(intuniqudId, inttextureIndex, intlayer)NativeGlobal
voidfunctionSetItemTextureLayerBlendMode(intuniqueId, inttextureIndex, intlayer, stringtexture)NativeGlobal
stringfunctionGetItemTextureLayerBlendMode(intuniqueId, inttextureIndex, intlayer)NativeGlobal
voidfunctionClearItemTextureLayerBlendMode(intuniqudId, inttextureIndex, intlayer)NativeGlobal
voidfunctionUpdateItemTextureLayers(ObjectReferenceakActor, intuniqueId)NativeGlobal
boolfunctionIsFormDye(FormakForm)NativeGlobal

Returns true if the Form has been registered as a Dye

intfunctionGetFormDyeColor(FormakForm)NativeGlobal

Returns the dye color bound to this form

voidfunctionRegisterFormDyeColor(FormakForm, intcolor)NativeGlobal

Registers the Form as a Dye with a color, 0x00FFFFFF is the universal dye

voidfunctionUnregisterFormDyeColor(FormakForm)NativeGlobal

Removes this form as a

boolfunctionHasNodeTransformPosition(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Checks whether there is a positon override for the particular parameters

voidfunctionAddNodeTransformPosition(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey, float[]pos)NativeGlobal

Adds a position override for the particular key, pos[0-2] correspond to x,y,z

float[]functionGetNodeTransformPosition(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Returns a position override for the particular key an array of size 3 corresponding to x,y,z

boolfunctionRemoveNodeTransformPosition(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Removes a particular position override, returns true if it removed, false if did not exist

boolfunctionHasNodeTransformScale(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Checks whether there is a scale override for the particular parameters

voidfunctionAddNodeTransformScale(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey, floatscale)NativeGlobal

Adds a scale override for the particular key, pos[0-2] correspond to x,y,z

floatfunctionGetNodeTransformScale(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Returns a scale value override for the particular key, 0.0 if did not exist or failed

boolfunctionRemoveNodeTransformScale(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Removes a particular scale override, returns true if it removed, false if did not exist

boolfunctionHasNodeTransformRotation(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Checks whether there is a rotation override for the particular parameters

voidfunctionAddNodeTransformRotation(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey, float[]rotation)NativeGlobal

Adds a rotation override for the particular key given either a size 3 or 9 array
rotation[0-8] corresponding to the linear indices of a 3x3 matrix in radians
rotation[0-2] corresponding to heading, attitude, and bank in degrees

float[]functionGetNodeTransformRotation(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey, inttype=0)NativeGlobal

Returns a rotation override for the particular key
type 0 - size 3 euler angles in degrees
type 1 - size 9 matrix

boolfunctionHasNodeTransformScaleMode(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Checks whether there is a scale override for the particular parameters

voidfunctionAddNodeTransformScaleMode(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey, intscaleMode)NativeGlobal

Adds a scale mode override for a node, Modes=[0,1,2,3] [Multiplicative,Averaged,Additive,Maximum]

floatfunctionGetNodeTransformScaleMode(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Returns a scale mode override for the particular key, -1 if non-existent

boolfunctionRemoveNodeTransformScaleMode(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Removes a particular scale mode override, returns true if it removed, false if did not exist

floatfunctionGetInverseTransform(float[]in_out_pos, float[]in_out_rotation, floatin_scale=1.0)NativeGlobal

Returns the inverse scale, alters the in pos to the inverse out pos and the in rotation to the out inverse rotation
Accepts either a size 3 rotation of euler degrees, or a 9 radian matrix

boolfunctionRemoveNodeTransformRotation(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringkey)NativeGlobal

Removes a particular scale override, returns true if it removed, false if did not exist

voidfunctionUpdateAllReferenceTransforms(ObjectReferenceakRef)NativeGlobal

Updates and computes ALL resulting transformation overrides for the particular reference
This should not need to be called under normal circumstances

voidfunctionRemoveAllReferenceTransforms(ObjectReferenceakRef)NativeGlobal

Removes all transforms for a particular reference

voidfunctionRemoveAllTransforms()NativeGlobal

Removes all transforms from all references

voidfunctionUpdateNodeTransform(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName)NativeGlobal

Updates and computes a particular node's transformation override
Use this after changing a particular override

voidfunctionSetNodeDestination(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName, stringdestination)NativeGlobal

These function parts move a node to be a child of the destination node
Moves a node from one the current parent to another, there can only be ONE of these overrides, call UpdateNodeTransform

stringfunctionGetNodeDestination(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName)NativeGlobal

Returns the node destination of the particular parameters

boolfunctionRemoveNodeDestination(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName)NativeGlobal

Removes a node destination for a particular node, does not revert the physical mesh, only removes the key

string[]functionGetNodeTransformNames(ObjectReferenceakRef, boolfirstPerson, boolisFemale)NativeGlobal

These functions can be used to walk all of the current nodes if necessary
Returns an array of all the altered nodes for the particular reference, skeleton, and gender

string[]functionGetNodeTransformKeys(ObjectReferenceakRef, boolfirstPerson, boolisFemale, stringnodeName)NativeGlobal

Returns an array of all the existing key'd transforms to the particular node
NodeDestination is a special key

boolfunctionGetBooleanExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal

NiExtraData Acquisition

floatfunctionGetFloatExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal
float[]functionGetFloatsExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal
intfunctionGetIntegerExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal
int[]functionGetIntegersExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal
stringfunctionGetStringExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal
string[]functionGetStringsExtraData(ObjectReferenceakRef, boolfirstPerson, stringnodeName, stringdataName)NativeGlobal
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.