• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Maximum unit capacity

Status
Not open for further replies.
If by food cap, then yes. In gameplay constants you can change it to a maximum of 300. By default it is set to 100.

If you mean where it generates starting units during melee initilization then, no The number of units spawned cannot be changed. You would have to create additional units using other triggers.
 
If that fails you can use this to create every unit.
JASS:
function Trig_Create_Unit_Test_Actions takes nothing returns nothing
//player 12 = neutral hostile set it accordingly. remember jass 0 = player 1
//N01T Unit Id, 10087 first coordinate in editor, -29915 second, leave 270
    call CreateUnit( Player(12), 'n01T', 10087, -29915, 270)
endfunction

//===========================================================================
function InitTrig_Create_Unit_Test takes nothing returns nothing
    set gg_trg_Create_Unit_Test = CreateTrigger(  )
    call TriggerAddAction( gg_trg_Create_Unit_Test, function Trig_Create_Unit_Test_Actions )
endfunction
Make sure it runs at initialization
 
Status
Not open for further replies.
Back
Top