Jump to content

Requesting help in editing script (nioverride)


Recommended Posts

Hi, im trying to change this script from

applying random nioverride data to the target npc

to instead get nioverride data from the source npc and copy it onto the target npc.


Scriptname RPNodes Hidden

import NiOverride

bool Function transferNode(Actor source, Actor target) Global
    float mag = GetNodeTransformScale(source, false, true, "NPC L Breast", "RandomPatches")
    If mag != 0
            AddNodeTransformScale(target, false, true, "NPC L Breast", "RandomPatches", mag)
        AddNodeTransformScale(target, false, true, "NPC R Breast", "RandomPatches", mag)

        UpdateNodeTransform(target, false, true, "NPC L Breast")
        UpdateNodeTransform(target, false, true, "NPC R Breast")
        return true
        return false

Would be really appreciative if someone can let me know how it should be done? (have very basic scripting ability)

Link to comment


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...