How to make Random Integer actually Random?

Jackal

You can change this now in User CP... or Die Tryin
Reaction score
38
Okay, I have a trigger that calls a random integer. The problem is it is always the same pattern of random integers. EG

Set RandQuizInt = (Random integer number between 1 and 10)

Ingame it will always go 7 -> 4 -> 9 -> 2 etc all the time.

How do I make it properly random so that the same integers aren't always called up in the same sequence all the time?
 

perkeyone

something clever
Reaction score
71
there is a setting to use fixed random seed that is checked by default
you need to uncheck it

file - preferences - test map use fixed random seed (uncheck)
 

Jackal

You can change this now in User CP... or Die Tryin
Reaction score
38
Thanks, but for some odd reason I still get the same problem even with Use Fixed Random Seed unchecked. o_O

Is this because I'm using Test Map in WE rather than loading the map from Warcraft III?
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Is this because I'm using Test Map in WE rather than loading the map from Warcraft III?
Yeah, I've found that it seems like the random order is fixed when testing from WE regardless of that setting. :nuts:

Just start a custom game in WC3 and pick the map and you'll see it actually be random.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top