-
Notifications
You must be signed in to change notification settings - Fork 94
timer_is_enabled
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Timer Is Enabled description: published: true date: 2023-03-16T23:12:50.096Z tags: editor: markdown dateCreated: 2023-03-16T22:31:01.109Z
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
.