I have a script made by someone else that does stuff when you reach a specifc level. I figured I would just add my change to the same script since I want it to happen at the same level. I have just edited the .NSS with notepad does that work?
This is the line I added:
SetSubRace(OBJECT_SELF, 67);
67 is the line of my subrace in the racialsubtypes.2da
Also tried
SetSubrace(oTarget, sHuman_subrace)
Target being the player object in the script
Human_subrace being Label in the subrace 2da
Thanks guys.
Trying to change subrace.
Débuté par
Lich Larloch
, oct. 21 2011 08:29
#1
Posté 21 octobre 2011 - 08:29
#2
Posté 21 octobre 2011 - 09:34
the .nss file has to be compiled to work
2da's function by row number not the label
2da's function by row number not the label
#3
Posté 21 octobre 2011 - 10:02
Thanks that explains it. Hopefully I can get the toolset open, it crashes, or find a program that can compile scripts.
#4
Posté 21 octobre 2011 - 12:39
SetSubRace(object oCreature, string sSubRace) is a function left over from NWN 1. It does not work.





Retour en haut






