Plugin : Lua VM
Author:Rex.Rainbow
- Run lua script. The lua vm was referenced from http://kripken.github.io/lua.vm.js/lua.vm.js.html.
Download
Actions
Run
Action:Run script
- Run script.
- Code ( string ) : Lua script
Setup
Action:Setup
- Setup.
- Timeline ( object ) : Timeline object to get timer
Task - Kill
Action:Kill
- Kill task.
- Task ( string ) : Task name
Action:Kill all
Task - Resume
Action:Resume
- Resume task.
- Task ( string ) : Task name
Action:Resume with key
- Resume task with key.
- Task ( string ) : Task name
- Key ( string ) : Key
Task - Start
Action:Start
- Start task with a lua function.
- Task ( string ) : Task name
- Function ( string ) : Function name
- Parameter {n} ( variadic ) : A parameter to pass for the function call, which can be accessed with Function.Param({n}).
Expressions
Task
Expression:TaskName
- Get task name at triggered condition.
Conditions
Task
Condition:On started
- Triggered when task started.
Condition:On resumed
- Triggered when any task resumed.
Condition:On finished
- Triggered when any task finished.
Condition:On killed
- Triggered when any task killed.
Condition:On suspended
- Triggered when any task suspended.