object - commandobject - unit


int OnCannonNoAmmo(int nCannonNum)

Scope: public

Parameters
nCannonNum - number of cannon which called event.

Return values
true - if script handled event.
false - if script dosn't handled event.

Description
This event is called when in cannon requiring external ammo will end.
Irrespective of script action, code is calling function SendSupplyRequest.
Returned value isn't important.

See also
SendSupplyRequest