tonights cry for help comes in the form of an over complicated randomiser script. For the grand finale of my second quest release, part of the effects rely upon a a wall lining itself up. Now the way I've gone about this is by creating 4 statics, referencing them (wall 1a,1b,1c and 1d), and then plopping a timer and a randomiser into a script.
Every 10 seconds, the randomiser should generate a new number. If the randomiser is below 25, it sets a variable to 1. Below 50 - the same variable to 2, below 75, to 3 and 100, to 4.
The script then checks if this variable is set to either 1, 2, 3 or 4 and thus enables and disables certain parts.
Now my head may be absolutely banging with nonsense, but I can't get the randomised number to generate after the first go. It just loops round to 0 every time. I'm probably doing something inanely daft, so any help'd be appreciated. Hopefully I'll bump the thread in 5 minutes with posts of glee and "I've got it!", but I thought I'd throw the notion out there.
Cheerio
Edit:-
Bloody hell! Sorry mods, I have a habit of doing this! Resolved
IVE GOT IT!