• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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