-
Posts
1235 -
Joined
-
Last visited
logan23's Achievements
Newbie (1/14)
10
Reputation
Single Status Update
-
Well I don't know about globals, but I know that GetSubRace(); will return the sub race of the creature (suprisingly.) After having a flick through the NWScript, and looking at creature templates, I see no reason why adding rows to subrace.2da and using GetSubRace(); to perform checks wouldn't work.
It seems to me that GetSubRace(); returns the row index, starting at 0 for "None". Therefore, by adding say, the 4th row and labeling it "Rodian" or something; when you call GetSubRace(oCreature);, if the subrace of the creature is set to your new "Rodian" row, it will return 4.
And apparently you can only have 1000 characters, so the rest will be in another post