• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[JASS/AI] Adding more than 11 buildable structures to a unit

This isn't really a tutorial. Its more of a collection of my findings on this subject.

1: You can have about 200 buildable structures on a unit. However players can only see the first 11 on the menu. You can order the construction of the others via issue order triggers. If you wish to mass add entries, shift click in the object editor and enter them in the following format without the "s "h000,h001,h002" and so on.

2. Contrary to the information found here: Transformed units cannot construct buildings You CAN have a morphed builder build a unique set of units. You just need to remove the racial build ability before morphing and add it after. e.g.

call UnitRemoveAbility(u,'AUbu')
//bear form trick morph code here
call UnitAddAbility(u,'AUbu')

I have a attached a sample map demonstrating these findings that allows you to build any unit in the base game with one builder.

edit: To have the omni builder build anything: first click the desired unit type from the list, then hold left control and click the point on the map where you want to build.
 

Attachments

Last edited:
While I trying open this map, I get error:"-Level info data missing or invalid."
I use version 1.28.5 of W3. Maybe I can't open because this.
I want create a builder that it has randomly 10 structures from pool. Like at Castle Fight random mode or Legion TD random mode. How can I this?
 
While I trying open this map, I get error:"-Level info data missing or invalid."
I use version 1.28.5 of W3. Maybe I can't open because this.
I want create a builder that it has randomly 10 structures from pool. Like at Castle Fight random mode or Legion TD random mode. How can I this?
I figured the map doesn't run due to the incorrect patch version. The map requires the higher patch (actually, his OP was way back 3 years ago, so that was even before Reforged 2.0). Unless you're using the 3rd party trick like Drake53's Map Adapter, the map won't work on older patches like 1.28.5.
 
Back
Top