Are autorun events guaranteed to run sequentially? I'm trying to set up a minesweeper-type initialization, where one of five events is the "real" one.
My idea was to initialize a variable to 5, then have each event (in an auto-run page) pick a random number between 1 and the variable, and decrement the variable. If they picked 1, they're real, and set a switch to make all the rest become fake automatically.
The concern is that it won't work right if the autorun events can ever run an the same time as each other, since they'd mess with the variable at the same time, and could possibly make to real ones.
My idea was to initialize a variable to 5, then have each event (in an auto-run page) pick a random number between 1 and the variable, and decrement the variable. If they picked 1, they're real, and set a switch to make all the rest become fake automatically.
The concern is that it won't work right if the autorun events can ever run an the same time as each other, since they'd mess with the variable at the same time, and could possibly make to real ones.