Skip to content

timer_add

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

title: Timer Add description: published: true date: 2023-03-16T23:12:44.101Z tags: editor: markdown dateCreated: 2023-03-16T22:30:54.300Z

timerAdd

The timerAdd native AI script function extends a timer by adding a time delta.

Syntax

()timerAdd(TimerId: f, DeltaTime: f)

Arguments

  • TimerId (float): The ID of the timer to modify.
  • DeltaTime (float): The amount of time, in ticks, to add to the timer.

Example

()timerAdd(0, 50);

This example code adds 50 ticks to the timer with ID 0.

Clone this wiki locally