Behavior : Cooldown

Author:Rex.Rainbow

Download

Properties

Activated

  • Enable if you wish this to begin at the start of the layout.
    • Options : ["No","Yes"]

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.
      • Options : ["No","Yes"]

Acceptable

Action:Set acceptable

  • Set acceptable. This action is used under "condition: On acceptable checking".
    • Accepted ( Combo ) : Accept this request.
      • Options : ["No","Yes"]

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

  • Pause cooldown.

Action:Resume

  • Resume cooldown.

Action:Cancel

  • Cancel cooldown.

Request

Action:Request

  • Request a call.

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

  • Get remainder time.

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

  • Triggered when 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