Random displaying problem!
I'm created this program that show a random string depending on what category you have selected in the option menu. It worked well 1 week ago. Now somehow, it doesn't work at all.
I will try to discribe the problem. When a button is clicked it then picks a random object in a zone and changes the alt value a to 1.
If picked object (only 1 for the moment) alt value a = 1 -> set global value "?" to 1+random(18).
All this is very simple and works fine. How ever the next part i am realy scratching my head over, been staring at the problem for a long time and can't find any bugs, and it have been working before.
if picked object alt value a = 1 -> display paragrafh of a specific string object, calculat out the number of the paragrafh option, and retrive the global value "?".
The string pops up but only, paragrafh 1 is display. no matter what the global value "?" is.
Any clues to what the problem can be ?
I will add the MMF 2 File if anyone wants to take a look at it. the code is alittle bit more complexed :P then what i have tried to discribe.
Any help would be appreiated.Attachment 10993