Talk:EVENT TYPE CHARGEN SELECT RACE

From Dragon Age Toolset Wiki
Jump to: navigation, search

Object 0 is the character going through character creator:

Example code:

       case EVENT_TYPE_CHARGEN_SELECT_RACE:
       {         
           object oCreature = GetEventObject(ev,0);
           int nRace = GetEventInteger(ev,0);
           int nSelected = GetEventInteger(ev,1);
           Chargen_SelectRace(oCreature,nRace,!nSelected);
           break;
       }