object - commandobject - unit - tank


int CanCannonFireToGround(int nCannonNum)

Scope: public

Parameters
nCannonNum - cannon number.

Return values
True if cannon number nCannonNum can fire to ground units, false otherwise.

Description
[MP]
Result of this function dosn't depend on current ammo count.
If nCannonNum == -1 then function returns true if at least one of cannons can fire to ground units.

See also