- Found in:
- PO3's PE
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
ObjectReferenceakRef
ArtakArt
stringasNewNode
float[]afTranslate
float[]afRotate
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
