HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Random Hero Question

08-27-2003, 03:40 PM#1
Zero
Ok. What I want to accomplish here is shown below:

☻ ☻
☻ ☻
☻X ☻
☻ ☻
☻ ☻
☻ ☻
☻ ☻

Key:
☻ = Region
X = Center Region

Lets say all these regions contains a hero you can be. And lets say the X region in the center is what you step on if you want a random hero out of them all. Now how would I do this?

I have tried various triggers... Allthough with no luck :(

I have seen this done before though in other maps. Someone care to enlighten me?? plz emote_sweat
08-27-2003, 03:46 PM#2
junithorn !
Set Randomizer1 = (Random integer number between 1 and 10)
08-27-2003, 04:44 PM#3
Draco
To follow that up, use if/then/else(s) like...

If (Integer Comp.) Randomizer equal to 1 then run trigger that gives you hero 1 (i.e. warrior), else do nothing.