Plugin : Instance Bank

Author:Rex.Rainbow

Download

Properties

Actions

Bank

Action:Clean bank

  • Clean bank to empty.

Action:Load bank from JSON string

  • Load bank from JSON string.
    • JSON string ( string ) : JSON string.

Load instance

Action:Load all instances

  • Load all saved instances.

Action:Pick by saved UID

  • Pick instance by saved UID.
    • Object ( object ) : Object for picking
    • UID ( number ) : UID of object

Save

Action:Save info

  • Save custom info. Used under "Condition:On saving"
    • Index ( number or string ) : Index of info, can be number of string
    • Value ( number or string ) : Value of info

Save instance

Action:Save instances

  • Save instances of sprite.
    • Object ( object ) : Object for saving
    • All instances ( Combo ) : Pick from current picked instances or all instances
      • Options : ["Current picked instances","All instances"]

Expressions

Bank

Expression:BankToString

  • Transfer current bank to JSON string.

Load

Expression:SavedInfo

  • Get saved custom info for instances loading. Used under "Condition:On loading"
    • 0 ( number or string ) : The index of info to get, can be number of string.

Conditions

Load instance

Condition:On loading

  • Loading handler. Triggered by "action:Load all instances"
    • Object ( object ) : Object for loading

Condition:Pick by saved UID

  • Pick instance by saved UID.
    • Object ( object ) : Object for picking
    • UID ( number ) : UID of object

Save instance

Condition:On saving

  • Saving handler. Triggered by "action:Save instances"
    • Object ( object ) : Object for saving