SetUnitMetalExtraction()
Posted: 28 Mar 2007, 20:47
Decimator
Spring.SetUnitMetalExtraction(unitID, depth[, range]) has been committed.
It's an expensive call, because it recomputes the metal extraction for the unit
that is being changed, and for its neighbours. If you plan on using it to update
a number of units, then I suggest you try to stagger the calls.
Spring.SetUnitMetalExtraction(unitID, depth[, range]) has been committed.
It's an expensive call, because it recomputes the metal extraction for the unit
that is being changed, and for its neighbours. If you plan on using it to update
a number of units, then I suggest you try to stagger the calls.