timer_disable - ryzom/ryzomcore GitHub Wiki
title: Timer Disable description: published: true date: 2023-03-12T21:58:32.821Z tags: editor: markdown dateCreated: 2023-03-12T21:58:15.930Z
The timerDisable native AI script function is used to disable a timer.
()timerDisable(timerId: f) // timerDisable_f_
- timerId (float): The ID of the timer to disable.
()timerDisable(0); // Disables the timer with ID 0
In this example, the function timerDisable
is called with an ID of 0, which disables the corresponding timer.