• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Building Spawns a Random Unit

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 65
Joined
Jan 18, 2005
Messages
27,296
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