HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Allrandom trigger not working

03-12-2007, 06:33 PM#1
botanic
Nm i got it i declared stuff out of order... ^.^
03-12-2007, 08:11 PM#2
tamisrah
1. Correct me if I'm wrong but you haven't set GameMode to MODE_normal, so the condition is allways false.

2. I don't really get what you're doing with this wait in your last trigger (wait until RandomUsed[RandomHero]==0) since as far as i know ForPlayer loops aren't executed until the first pass is finished.

3. I would suggest to call the random number function in your last trigger as well.
- you would avoid a periodic trigger which is fired every .1 secs
- you would merge the improbable but still existing chance to change the value of RandomHero within the trigger