HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

set to random interger

08-24-2004, 03:10 PM#1
Zazzadar
Ok heres the overview...i have an ability and whn it is cast it sets the interger variable (called randomeffect) to a random number between 1 ans 4 with the Math - Random interger command

Then it goes to another trigger called "choose" if randomeffect = 1 then run trigger "effect 1" else if random effect = 2 then run trigger "effect 2" else if random effect = 3 then run trigger "effect 3" else if random effect = 4 then run trigger "effect 4"

Well basically whenever i use the ability (i tested it 10 times and by closing and re-opening the map) i got exactly the same effect...... all i need to know is, has anyone else had problems with the random interger command or is it jsut my luck to have it deal me the same one again and again (not that it makes much difference but i deals effect 3 every time)
08-24-2004, 03:23 PM#2
Vexorian
Test map isn't random compatible unless you change that option in the prefferencs dialog
08-24-2004, 06:56 PM#3
Zazzadar
Oh uh..thanks vexorian thats a rather more simple awnser than wht i expected lol......thanks.......this question was for the spell olympics tho is this gonna disqualify my spell?
08-24-2004, 07:14 PM#4
Vexorian
Quote:
Originally Posted by Zazzadar
Oh uh..thanks vexorian thats a rather more simple awnser than wht i expected lol......thanks.......this question was for the spell olympics tho is this gonna disqualify my spell?
why? it is not like I changed your trigger at all