• 🏆 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!

Seeding Random Numbers

Status
Not open for further replies.
Level 2
Joined
Jun 28, 2004
Messages
7
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.
 
Level 7
Joined
Jul 30, 2004
Messages
451
Lord Vazacaks said:
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.

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
 
Status
Not open for further replies.
Top