object - commandobject - unit


int OnFreezeForSupplyOrRepair(int nFreezeTicks)

Scope: public

Parameters
nFreezeTicks - ticks count for freeze.

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

Description
This event is called by Repairer which wants to repair this unit or by Supplier which have to supply this unit.
To stop to specified count of ticks you should call CallFreeze function.
Returned value isn't important.

See also
CallFreeze