Aller au contenu

Photo

Player Character Selection for created modules?


1 réponse à ce sujet

#1
ixobelle

ixobelle
  • Members
  • 109 messages
Where can I either make a character associated with my new module, or choose to use my existing character from the single player campaign (first choice would be best).

in NWN after chhosing the module to play, we chose the character to use. In my mdule, following the tutorials in the wiki, I've created enemies that are 'critter' difficulty, but they one shot my default character ("Jaden"?), even if I give him heavy armor and a battleaxe. 

I'd like to be able to create a PC that gets tied to the module, but I can't seem to see how to do this. I created a new character, and added it to the "_PC" group, thinking that would do it, but no luck.

Any help?

#2
BryanDerksen

BryanDerksen
  • BioWare Employees
  • 273 messages
In the module properties inspector there should be a field named "Script", whose value defaults to module_core for new modules. This is where you specify the module's event-handling script. Event handling scripts are run whenever an event is sent to the object, and in the module's case it is sent the event "EVENT_TYPE_MODULE_START" when the module starts up so that's where you'll want to handle any startup stuff like this.



The variables property is where you can set the starting values for the module's local variables, which can be referred to by scripts later on. http://social.biowar.../Local_variable has some information on how local variables work in DA.