Behavior : Cooldown
Author:Rex.Rainbow
- Accept request when cooldown
Download
Properties
Activated
- Enable if you wish this to begin at the start of the layout.
Cooldown interval
- Cooldown interval, in seconds. 0 is start immediately
Actions
Action:Set activated
- Enable the object's cooldown behavior. It will also cancel current cooldown if sets to No.
- Activated ( Combo ) : Enable the cooldown behavior.
Acceptable
Action:Set acceptable
- Set acceptable. This action is used under "condition: On acceptable checking".
- Accepted ( Combo ) : Accept this request.
Action:Set acceptable by number
- Set acceptable. This action is used under "condition: On acceptable checking".
- Is accepted ( number ) : 1 is accepted
Control
Action:Pause
Action:Resume
Action:Cancel
Request
Action:Request
Setup
Action:Setup cooldown
- Setup cooldown.
- Timeline ( object ) : Timeline object for getting timer
- Time ( number ) : Cooldown interval, in seconds
Action:Set Cooldown interval
- Set cooldown interval, in seconds.
- Time ( number ) : Cooldown interval, in seconds
Time
Action:Set Cooldown remainder time
- Set cooldown remainder time, in seconds. This value should smaller then cooldown interval.
- Time ( number ) : Cooldown remainder time, in seconds
Expressions
Expression:Activated
- The activated setting, 1 is activated.
Timer
Expression:Remainder
Expression:Elapsed
- Get elapsed time of timer.
Expression:RemainderPercent
- Get remainder time percentage of timer.
Expression:ElapsedPercent
- Get elapsed time percentage of timer.
Conditions
Acceptable
Condition:On acceptable checking
- Custom acceptable checking.
Activated
Condition:Is activated
- Return true if this behavior is activated.
Callback
Condition:On call accepted
- Triggered when call accepted.
Condition:On call rejected
- Triggered when call rejected.
Condition:On cooldown
Condition:On cooldown finished
- Triggered when cooldown finished.
If
Condition:Is call accepted
- Requested call is accepted.
Condition:Is call rejected
- Requested call is rejected.
State
Condition:Is at cool down
Test
Condition:Can call