• 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.

Building Spawns a Random Unit

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Yes, you use triggers to create a random unit type at the position of the building.
Or you make the building hire the units and use triggers to change what is available to hire to random unit types from an array.
If you mean actually build units, you could have multiple of the same building type (each with different units available to build) and randomly choose one once the building is built.
 
Level 1
Joined
Dec 30, 2008
Messages
4
Yes, you use triggers to create a random unit type at the position of the building.
Or you make the building hire the units and use triggers to change what is available to hire to random unit types from an array.
If you mean actually build units, you could have multiple of the same building type (each with different units available to build) and randomly choose one once the building is built.
Ya i was thinking having the building train a regular unit and when the regular unit spawns it would turn into a random unit..
but i just dont know how to do this..ty

~edit: nvm i found out ty dr super good
 
Last edited:
Status
Not open for further replies.
Top