elys wrote...
You can declare your own variables for your module and then access these variables from any of your scripts(using GetModule() to get the object which contains the variables)
You just have to create var_mymodule.gda and select it in the module properties
Hmmm but I'm not working with my own module.
Under manage modules i've switched to the single player campaign.
I made a new excel file like this, like you said:
ID Label Type default IsPlot
int string string string int
0 bp_string1 string 0 0
1 bp_string2 string 0 0
2 bp_string3 string 0 0
I've compiled it into a GDA.
1. I've made a new area called bp_area
2. It asked me to add an area layout so I just added a random one in the list.
3. I added the new gda var_bp_area.gda
4. I saved and it exported properly.
My code still doesn't work!!! wtf...
I don't know if this has anything to do with it. But i'm modifying the single player campaign. My PC is in redcliffe. Does that matter at all?I don't even understand why I have to store a global variable in an area.
And if I make my own module, the problem arises where I'm modiying the single player game ? ... I don't understand why they made this so incredibly difficult. I never wanted to go this far in the toolset just to do something so simple as have the PC simply wear something new in a cutscene that they didn't own in their inventory. *sigh*
Modifié par JackFuzz, 09 janvier 2010 - 11:11 .