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

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.

⚠️ **GitHub.com Fallback** ⚠️