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!
In the Unit Palette in WE, you change to Custom Units, and you see a Random Unit unit. Place it for the player you want it control, double-click it, and in (I believe) the last tab, you can make a table of units it can become.
hmm, but that wouldn't be race specific unless the races are set for each starting position, i suggest using a trigger
random hero
Events
Map initialization
Conditions
Actions
Set player[1] = Player 1 (Red)
Set player[2] = Player 2 (Blue)
Set player[3] = Player 3 (Teal)
....
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(player[(Integer A)] slot status) equal to playing
(Race of player[(Integer A)]) equal to Human
'THEN'-Actions
Set randominteger = (Random integer number between 1 and 4)
If (randominteger equal to 1) then do (Unit - Create 1 Paladin for player[(Integer A)] at (player[(Integer A)] start location) facing Vorgabe for Gebäude-Ausrichtung degrees) else do (Do nothing)
If (randominteger equal to 2) then do (Unit - Create 1 Archmage for player[(Integer A)] at (player[(Integer A)] start location) facing Vorgabe for Gebäude-Ausrichtung degrees) else do (Do nothing)
'ELSE'-Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Conditions
(player[(Integer A)] slot status) equal to playing
(Race of player[(Integer A)]) equal to Orc
'THEN'-Actions
Set randominteger = (Random integer number between 1 and 4)
If (randominteger Gleich 1) then do (Unit - Create 1 Blademaster for player[(Integer A)] at (player[(Integer A)] start location) facing Vorgabe for Gebäude-Ausrichtung degrees) else do (Do nothing)
If (randominteger Gleich 2) then do (Unit - Create 1 Tauren-Chieftain for player[(Integer A)] at (player[(Integer A)] start location) facing Vorgabe for Gebäude-Ausrichtung degrees) else do (Do nothing)
'ELSE'-Actions
that's the basic idea, just add the missing rasces and heros, maybe i did not translate everything, cause my WE is german, but i think the important parts are english
yeah you can decide which unit it can become, but lets say its a melee map, you do not know which race the player is going to choose, so you do not know which units you need to set
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.