Timer:resetCondition
since 1.1.0
Get / Set the reset condition of the timer.
local reset = timer:resetCondition([condition])
Parameters
| Name |
Type |
Required |
Description |
condition |
Source |
optional |
|
Returns
reset (Source)
Examples
From the official Ethos documentationtimer = model.getTimer(0)
timer:resetCondition({category=CATEGORY_SYSTEM_EVENT, member=SYSTEM_EVENT_THROTTLE_CUT})