• 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 trigger order O_o

Status
Not open for further replies.
Level 4
Joined
Oct 24, 2008
Messages
64
In my game i want to be able to make some thing happen and maybe next time something differnt to happen and the thing before to happen later o_O

ill put it like this for a test trigger
i want it so that theres two horses pack horse and a armored horse.
i want it to randomly select one of the two horse triggers
so that 1 horse with a randomness of 50/50 of which one it is. o_O i didnt explain that very well i hope you under stand what im trying to get.
 
Level 17
Joined
Nov 18, 2008
Messages
1,538
  • Event - Something Happens
  • Condition - Event You Want Equal to True
  • Set PercentChance(1) = 1
  • Set PercentChance(2) = 2
  • If
  • PercentChance = 1
  • Then
  • Select Armoured Horse
  • Else
  • Select Pack Horse
I guess you could use this, I don't know, I'm not at home so I can't check it out.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
umm WHAT ?

anyway
what you can make random is: you can pick a random number between numbers you specifed
like you can make game pick a random number between 1 and 5
it works like
Random integer between 1 and 5 (1 and 5 is included as I know but I maybe wrong ofcourse)
 
Status
Not open for further replies.
Top