timer_set_ryzom_daytime - ryzom/ryzomcore GitHub Wiki


title: Timer Set Ryzom Daytime description: published: true date: 2023-03-12T21:43:36.728Z tags: editor: markdown dateCreated: 2023-03-12T21:43:20.882Z

timerSetRyzomDaytime

The timerSetRyzomDaytime native AI script function sets a timer that will trigger at a specified hour in Ryzom time.

Syntax

()timerSetRyzomDaytime(TimerId: f, Hour: f, Minute: f) // timerSetRyzomDaytime_fff_

Arguments

  • TimerId (float): The ID of the timer to create.
  • Hour (float): The hour (in Ryzom time) at which the timer will trigger. This value must be between 0 and 23.
  • Minute (float): The minute (in Ryzom time) at which the timer will trigger. This value must be between 0 and 59.

Example

()timerSetRyzomDaytime(0, 13, 45);

In this example, a timer is created with an ID of 0, and set to trigger at 13:45 (Ryzom time).

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