AddUnitToStockBJ

Parameters
unitId integer
whichUnit unit
currentStock integer
stockMax integer
comment
patch

1.07

Source
Blizzard.j
return type
nothing
Source code
function AddUnitToStockBJ takes integer unitId, unit whichUnit, integer currentStock, integer stockMax returns nothing
    call AddUnitToStock(whichUnit, unitId, currentStock, stockMax)
endfunction