The Dink Network

JonSultar's Profile

2002-07-26 10:16:43
duckdie.gif
I am working on the demo of my DMOD for about a week. I have a small problem with the globals and the if statements. No matter what I try it doesnt work! Creating a global is easy but if I want to change it's value in the game it realy doesnt seem to work. That is what I tried:

int &story = 1;

&story = 1;

As for the if statement let's say that I have a default value of &story witch is 0. But if in one of the scripts I set that it'll work ONLY if &story is ex. 3 that script is still launched (although the current value of that Global is still 0) > > > > > > > !

I am slowly going mad here> > > > > > > > > > !!!

HELP!!!!!!!!!!!!!!!!!!!!