• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Random Encounter System?

Status
Not open for further replies.
Level 5
Joined
Jun 27, 2008
Messages
125
I tried such a system using a Timer that generated a random integer between 1 through 10, and that it would instant move the unit to a special area and create units for it to fight. Upon defeating them he'd go back to the point he was at on the World Map. But it wouldn't work
So I got rid f the timer system and made it work on a periodic event trigger, and then at least it played the song when it worked, but Wc3 crashed...
so I'm at an impasse
is it possible to make a Random Encounter system using WE? :sad:
 
Level 9
Joined
Sep 28, 2004
Messages
365
Here you go. A simple random encounter demo to let you see how it works with timer.

Please note that i didn't make it MUI just to speed things up [: Hope you get an idea how to do it! If you can describe more about how you want it to work in detail (eg: Pick 1 hero out of 10 heroes etc) i can change it for you [:
 

Attachments

  • Random Encounter Demo.w3x
    18.9 KB · Views: 75
Last edited:
Status
Not open for further replies.
Top