Talk:EVENT TYPE CHARGEN SELECT RACE

From Dragon Age Toolset Wiki
Revision as of 12:05, 25 October 2009 by CID-78 (Talk | contribs) (Created page with 'Object 0 is the character going through character creator: Example code: case EVENT_TYPE_CHARGEN_SELECT_RACE: { object oCreature = GetEvent...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;
       }