timer_add - ryzom/ryzomcore GitHub Wiki
title: Timer Add description: published: true date: 2023-03-12T22:53:34.631Z tags: editor: markdown dateCreated: 2023-03-12T22:53:31.098Z
The timerAdd native AI script function extends a timer by adding a time delta.
()timerAdd(TimerId: f, DeltaTime: f)
- TimerId (float): The ID of the timer to modify.
- DeltaTime (float): The amount of time, in ticks, to add to the timer.
()timerAdd(0, 50);
This example code adds 50 ticks to the timer with ID 0.