• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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