Package | Description |
---|---|
skyproc |
Modifier and Type | Method and Description |
---|---|
static SPEL |
NiftyFunc.genScriptAttachingSpel(ScriptRef script,
java.lang.String uniqueID)
A common way to attach scripts to NPCs that normally cannot have scripts
attached
(Any NPC that is referenced by a LVLN) is to give a racial spell to them that has a magic effect that has the desired script. This function streamlines the process and gives you a SPEL/MGEF setup that will attach the desired script. Simply give this SPEL to the NPC's race. NOTE: Attaching a script attachment spell to an NPCs race will affect ALL NPCs with that same race. If you do not want this, then consider using genSafeScriptAttachingRace(). |
Modifier and Type | Method and Description |
---|---|
GRUP<SPEL> |
Mod.getSpells() |