Author Topic: Canceled Schedules  (Read 636 times)

It seems that when I use a schedule, then cancel it, it still registers as an object. Is there a way to "delete" a schedule so that isObject(%sched); doesn't return 1 even after it's canceled?

Silly me, I can just use isEventPending();

Don't lock Coding Help topics.

Also, schedules are not objects - the value returned by the schedule() function/method is just an index number for that schedule (like the string table for tagged strings) so calling isObject() on it will look for an object in the root sim group with that number as it's id. Notice how you can't dump() a schedule.

Yeah, I just sent him a PM saying those things. isObject(1) returns for something like "dummyPlayer", a weird static shape made by the engine.

I forgot Ephialtes became a Global Moderator.

Thanks for the info guys.