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