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

timerDisable

The timerDisable native AI script function is used to disable a timer.

Syntax

()timerDisable(timerId: f) // timerDisable_f_

Arguments

  • timerId (float): The ID of the timer to disable.

Example

()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.

⚠️ **GitHub.com Fallback** ⚠️