object - commandobject - unit - tank


int CannonRequiresSupply(int nCannonNum)

Scope: public

Parameters
nCannonNum - cannon number.

Return values
True if cannon number nCannonNum requires external ammo supply, false otherwise.

Description
Result of this function dosn't depend on current ammo count.
If nCannonNum == -1 then function returns true if at least one of cannons requires external ammo supply.

See also
SendSupplyRequest