ScheduleGMS allows you to easily schedule alarms, scripts, events, and more, with the option to use seconds(delta) or step timing.
With extra features like schedule repeating, state management, control groups, and time scale manipulation, ScheduleGMS provides greater convenience and flexibility than standard alarms.
[Features]
[Code Example]
// Show message box "Hello" after 3 seconds
schedule1 = ScheduleScript(id, true, 3, ShowMessage, "Hello");
// Call user event 1 after 30 steps
schedule2 = ScheduleEventUser(obj_Player, false, 30, 1);
// Execute mouse event after 5 seconds
schedule3 = ScheduleEvent(id, true, 5, ev_mouse, ev_left_release);
// Set schedules to repeat set number of times
ScheduleSetRepeat(schedule1, 2); // repeat twice
ScheduleSetRepeat(schedule2, -1); // play infinitely
// Manipulate schedule state
SchedulePause(schedule1);
ScheduleResume(schedule1);
// Have schedule immediately finish
ScheduleFinish(schedule2);
Be sure to check out my other assets:
End User Licence Agreement (EULA).
Added additional default schedule type: ScheduleAlarm()
Added "Copies To:" for GameMaker: Player
Minor changes to documentation