Skip to content

timer_set_ryzom_daytime

Ryzom Core Wiki edited this page Jul 8, 2024 · 4 revisions

title: Timer Set Ryzom Daytime description: published: true date: 2023-03-16T23:12:58.935Z tags: editor: markdown dateCreated: 2023-03-16T22:31:12.453Z

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

Clone this wiki locally