• 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.

Random Event Trigger

Status
Not open for further replies.
Level 3
Joined
Aug 6, 2009
Messages
45
I have an idea of how to make random events but i'm not sure if it would work.

if i had the variables
Timer2 = a repeating timer of 5 seconds
and
Random1 = an integer value

and had the 2 triggers

  • Event: A timer (Timer2) expires
  • Action: Set variable (Random1) <gen> to (Random1) +1.
and
  • Event: (Random1) is equal to (Random integer between 1 and 5000)
  • Action: <add random event here>
would this work?
 
Status
Not open for further replies.
Top