object - commandobject - platoon
int CanCannonFireToGround(int nUnit, int nCannonNum)
Scope: private
Parameters
nUnit - unit number
nCannonNum - cannon number.
Return values
True if cannon nCannonNum of unit nUnit in platoon can fire to ground units, false otherwise.
Description
[MP]
If nCannonNum == -1 then function returns true if at least one of cannons can fire to ground units.
See also