Difference between revisions of "Talk:EVENT TYPE CHARGEN SELECT GENDER"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(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...')
 
(No difference)

Latest revision as of 11:36, 25 October 2009

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;
       }