set_tonnage
Sets a live unit’s tonnage and original weight.
Function
Synopsis
btech.unit.set_tonnage( unit, tons )
Arguments
DbRef|Object unit- The live unit.
integer tons- The tonnage, from 1 through 2,097,151 (
INT_MAX / 1024).
Returns
None.
Sets a live unit’s tonnage and original weight.
btech.unit.set_tonnage( unit, tons )
DbRef|Object unitinteger tonsINT_MAX / 1024).None.