Is Cooldown Ready
PureIsCooldownReadyChecks if enough time has passed since last activation. Also returns remaining cooldown time.
Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| LastActivationTime | float | — | LastActivationTime parameter |
| CooldownDuration | float | — | CooldownDuration parameter |
| CurrentTime | float | — | CurrentTime parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | bool | ReturnValue output |
| RemainingTime | float | RemainingTime output |
Example Use Cases
Example 1
Check if an ability is off cooldown.
Example 2
Determine if a shop restock timer has elapsed.