Talk:EVENT TYPE CHARGEN SELECT GENDER

From Dragon Age Toolset Wiki
Revision as of 11:36, 25 October 2009 by CID-78 (Talk | contribs) (Created page with 'this event seem to have the Object 0 parameter aswell. ie you get the character that is going through the character creator. Example code: case EVENT_TYPE_CHARGEN_SELE...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

this event seem to have the Object 0 parameter aswell. ie you get the character that is going through the character creator.

Example code:


       case EVENT_TYPE_CHARGEN_SELECT_GENDER:
       {         
           int nGender = GetEventInteger(ev, 0);
           object oCreature = GetEventObject(ev,0);
           SetCreatureGender(oCreature,nGender);
           break;
       }