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

[General] Repeating randomization

Status
Not open for further replies.
Level 6
Joined
Mar 17, 2012
Messages
105
Whenever I have triggers such as creating someone in a random spot in the map, or in this particular instance, choosing a random player out of twelve as the "murderer" (this is a "who is the killer" game), the randomization always repeats itself.

By this I mean that whenever I test the same player becomes the killer each time (dark green). Every time, it is dark green. So, if anyone knows how I can prevent this from happening, please tell me (something in editor preferences, maybe?)

Otherwise, this is the trigger, in case I made a flaw:

  • pick killer
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set killer = (Random player from (All players))
      • Wait 5.00 seconds
      • Game - Display to (Player group(killer)) the text: |cffff0000You are t...
      • Wait 15.00 seconds
      • Game - Display to (Player group(killer)) the text: |cffff0000Don't rev...
      • Wait 10.00 seconds
      • Game - Display to (Player group(killer)) the text: |cffff0000Be decept...
 
Last edited by a moderator:
Status
Not open for further replies.
Top