Background for Skyrim SE
Member of the PO3_SKSEFunctions script
voidfunctionUpdateHitEffectArtNode(ObjectReferenceakRef, ArtakArt, stringasNewNode, float[]afTranslate, float[]afRotate, floatafRelativeScale=1.0)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Updates node data. Move hit effect art to new node (ie. from "MagicEffectsNode" to "NPC Head [Head]") or update translate, rotate, and scale values.
  • Translate and Rotate arrays must have three values in order to work. Rotate uses euler angles in degrees (XYZ). Scale is relative, and is multiplied by existing scale.
  • If the hit effect art is removed and reattached, it will revert back to the values in the nif.

Parameters

  1. ObjectReferenceakRef

  2. ArtakArt

  3. stringasNewNode

  4. float[]afTranslate

  5. float[]afRotate

  6. floatafRelativeScale=1.0


Examples

Auto-Generated Example

ObjectReference myObjectReference__akRef
Art myArt__akArt
string myString__asNewNode
float[] myFloatArray__afTranslate
float[] myFloatArray__afRotate
float myFloat__afRelativeScale

PO3_SKSEFunctions.UpdateHitEffectArtNode(myObjectReference__akRef, myArt__akArt, myString__asNewNode, myFloatArray__afTranslate, myFloatArray__afRotate, myFloat__afRelativeScale)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

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