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!
Hi I just want to know how to make a computer ai to pick random from my heroes in my tavern so my custom heroes can be tested? how to make trigger like that or can anyone post a sample trigger? Thanks!
You don't have to make the AI pick a hero.
Just choose a random number between 1 and the number of heroes.
Then create the unit refered by the number to the AI and substract gold and lumber.
Basically you need to create a unit named "Random Hero" and add it to the tavern.
Check if that unit is ever purchased then create a random unit from an array of unit types.
You don't have to make the AI pick a hero.
Just choose a random number between 1 and the number of heroes.
Then create the unit refered by the number to the AI and substract gold and lumber.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.