Warcraft III resources & community, 2003–2006 · archived

Seeding Random Numbers

2 posts
#1

Seeding Random Numbers

Is their a way to give WC3 a seed to base a random number off of, or do I have to rely on its faulty pseudo-random system. I am wondering this because I am tired of my triggered AI in my offence map picking the same race and hero every time.
#2

Re: Seeding Random Numbers

Lord VazacaksIs their a way to give WC3 a seed to base a random number off of, or do I have to rely on its faulty pseudo-random system. I am wondering this because I am tired of my triggered AI in my offence map picking the same race and hero every time.


you cannot 'choose' a seed afaik

if you use 'test map' from the editor, it will always use the same seed though, unless you uncheck some option somewhere which makes 'test map' use a random seed

and if you just go into it from the game it will always have a random seed