Hi
In my base.inc I have declaration of my array:
global techAv = new Array();
techAv[0] = 0;
techAv[1] = 2;
First scene's scene_init.script add to my array third value.
Second scene's scene_init.script wants to read my array and here I got problem. There is no third value added by first scene's scene_init.script. This is because both scene's scene_init.script (first and second) has the line
#include "scripts\base.inc"
and everytime when this line is executing my array has reset by it's declaration in base.inc. I've tried moving declaration of my array to game.script but then when I want do something with my array in scene_init.script debugger says that my array is not defined. I know it must be simple solution but I can't find it. Help
And sorry my english, still learning