Behavior : Revive

Author:Rex.Rainbow

Download

Properties

Activated

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

Revive time

  • Revive sprite after destroyed, in second.

Revive at

  • Revive sprite at Initial state or last state.
    • Options : ["Initial state","Last state"]

Actions

Action:Set revive time

  • Set the revive time.
    • Revive time ( number ) : Revive sprite after destroyed, in second.

Memory

Action:Set a memory value

  • Set the value stored in memory.
    • Index ( number or string ) : Index of memory, can be number of string
    • Value ( number or string ) : Value of memory

Setup

Action:Setup revive timer

  • Setup revive timer.
    • Timeline ( object ) : Timeline object for getting timer

Action:Set activated

  • Enable the object's revive behavior.
    • Activated ( Combo ) : Enable the behavior.
      • Options : ["No","Yes"]

Expressions

Memory

Expression:Mem

  • Get the value from memory by index.
    • Index ( number or string ) : Index of memory, can be number of string

Conditions

Condition:On destroy

  • Triggered when sprite destroyed.

Condition:On revive

  • Triggered when sprite revived.