-
Notifications
You must be signed in to change notification settings - Fork 94
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
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.