object - commandobject - unit - tank


int CanCannonFireToAircraft(int nCannonNum)

Scope: public

Parameters
nCannonNum - cannon number.

Return values
True if cannon number nCannonNum can fire to flying units, 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 can fire to flying units.

See also