Skip to content

timer_is_suspended

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

title: Timer Is Suspended description: published: true date: 2023-03-16T23:12:52.991Z tags: editor: markdown dateCreated: 2023-03-16T22:31:04.675Z

timerIsSuspended

The timerIsSuspended native AI script function tests if a timer is suspended.

Syntax

(IsSuspended: f)timerIsSuspende(TimerId: f)

Arguments

  • TimerId (float): The ID of the timer to check.

Return value

  • IsSuspended (float): 1 if the timer is suspended, 0 otherwise.

Example

(isSuspended)timerIsSuspended(0);

This example code tests if the timer with ID 0 is suspended and stores the result in the variable isSuspended.

Clone this wiki locally