timer_is_suspended - ryzom/ryzomcore GitHub Wiki
title: Timer Is Suspended description: published: true date: 2023-03-12T23:12:24.017Z tags: editor: markdown dateCreated: 2023-03-12T23:12:21.063Z
The timerIsSuspended native AI script function tests if a timer is suspended.
(IsSuspended: f)timerIsSuspende(TimerId: f)
- TimerId (float): The ID of the timer to check.
- IsSuspended (float): 1 if the timer is suspended, 0 otherwise.
(isSuspended)timerIsSuspended(0);
This example code tests if the timer with ID 0 is suspended and stores the result in the variable isSuspended
.