Category: Script
Since engine version: 1.0 OC
ClearScheduleCall
Description
Cancels function calls which has been scheduled by ScheduleCall. All scheduled calls to the specified function will be cancelled.
Syntax
bool ClearScheduleCall(object obj, string function);
Parameters
- obj:
- Object for which to cancel scheduled function calls.
nil
for scheduled calls without object context. - function:
- Name of the scheduled function.
Example
ClearScheduleCall(FindObject(Find_ID(Clonk)), "Redefine");
Cancels all scheduled calls to the function "Redefine" for the first clonk.
See also: Schedule, ScheduleCall