-
-
Notifications
You must be signed in to change notification settings - Fork 18
alarm_get
drewmccluskey edited this page Jan 23, 2019
·
3 revisions
Returns if the defined alarm is currently running
alarm_get(index)
Argument | Description |
---|---|
int index |
Alarm index |
Returns: bool
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.
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