Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

alarm_dispose_all()

Xubiod edited this page Oct 21, 2017 · 1 revision

Stops an alarm.

Syntax

alarm_dispose_all()

Returns: Nothing


Description

This function sets all alarms of this instance to -1, which stops the alarms from counting down. This is a way to say that the Alarm Event is ignored.


Example:

alarm_dispose_all();

Stops all alarms in this instance.


GML Equivalent:

You can not use the function by doing this (not what's used) (not guaranteed to work):

for (_p = 0; _p <= 11; _p++) {
    alarm_set(_p, -1);
    //or
    //alarm[_p] = -1;
}