• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Trigger for selection between more than 4 races

Status
Not open for further replies.
Level 2
Joined
Feb 16, 2013
Messages
20
Hey, i know it is possible to create a new race (for example burning legion) for a map. I also know that i can create an AI for this race.

But can someone tell me if it is possible to create a trigger which allows every player at the begin of the game to chose between all the races (in this example: human, night elves, orc, undead and burning legion)?

And it is also possible to create a trigger which randomly changes the AI of an computer player who was not assigned with a special race at the beginning of the game to the new created one and also give him the new starting units (in this example: burning legion)?

I would really appreciate it to get some help for this problem because i´m planning to create a map with approximately 6 to 8 diffrent races (including the standart races) but i habe absolutely no idea how to create the triggers.
 
Level 9
Joined
Apr 23, 2011
Messages
527
first, disable the spawning of units in the melee init trigger.
make a dialog box then detect if a player has clicked on a button, then spawn the units for the race.
for ai, set an integer to a random number, then spawn the units for the ai depending on the number.
 
Level 2
Joined
Feb 16, 2013
Messages
20
Ok, thanks a lot for the information. All in all it means that it is possible to make more than 4 races usable. But i´m sure that i won´t be able to get that working on my own. I will come back to this problem later. But at first a have to create tha races and the AI´s.
 
Status
Not open for further replies.
Top