timer_is_enabled - ryzom/ryzomcore GitHub Wiki
title: Timer Is Enabled description: published: true date: 2023-03-12T22:58:50.137Z tags: editor: markdown dateCreated: 2023-03-12T22:58:47.260Z
The timerIsEnabled native AI script function checks if a timer is enabled.
(isEnabled: f)timerIsEnabled(TimerId: f)
- TimerId (float): The ID of the timer to check.
- IsEnabled (float): 1 if the timer is enabled, 0 otherwise.
(isEnabled)timerIsEnabled(0);
This example code checks if the timer with ID 0 is enabled and stores the result in the variable isEnabled
.