If you have NWNX_Funcs installed properly all you have to do is script it with the proper function after the nwnx include file. This is a little snippet of what I use in Avernostra on my Module OnEnter script. Basically it checks to see if a player has Ambidexterity. If they don't it adds it to them. I use it to be more compliant with Pathfinder, which is my d20 system of choice.
#include "nwnx_funcs"
void main() {
object oPC = GetEnteringObject();
if (GetIsDM(oPC))
{ return; }
if ((GetHasFeat(FEAT_AMBIDEXTERITY, oPC) == FALSE))
{ NWNXFuncs_AddFeat(oPC, FEAT_AMBIDEXTERITY); }
}
// Adds a feat to oObject's general featlist
// If iLevel is greater than 0 the feat is also added to the featlist for that level
void NWNXFuncs_AddFeat(object oCreature, int iFeat, int iLevel=0)
Once you get the include file added you can view all the NWNX functions in a list by typing 'NWNX' in the filter on the right side of the script screen. It's a great way to implement subraces because you can mod the ability scores directly and such.