Skip to content

alarm_get

drewmccluskey edited this page Jan 23, 2019 · 3 revisions

alarm_get

Returns if the defined alarm is currently running

Syntax:

alarm_get(index)
Argument Description
int index Alarm index

Returns: bool

Description:

SimplexEngine has 16 implemented alarms that this function can be used for. This function will return wether the defined alarm is currently running or not with either true or false.

Example:

alarm_get(3);

Above code will return false if alarm 3 is currently not running or true if alarm 3 is running.

Back to Alarms

Clone this wiki locally