skymen / reset-variables

Util plugin that lets you reset global and local variables to their initial values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Reset Variable

Reset any event variable to its initial value

Author: skymen
Made using c3ide2-framework

Table of Contents


Usage

To build the addon, run the following commands:

npm i
node ./build.js

To run the dev server, run

npm i
node ./dev.js

The build uses the pluginConfig file to generate everything else. The main files you may want to look at would be instance.js and scriptInterface.js

Examples Files


Properties

Property Name Description Type

Actions

Action Description Params
Reset Variable Reset a variable to its initial value Variable Name (eventvar)
Reset Global Variable By Name Reset a global variable to its initial value Variable Name (string)
Reset Boolean Variable Reset a boolean variable to its initial value Variable Name (eventvarbool)
Reset Local Variable By Name Reset a local variable to its initial value Variable Name (string)
Reset All Local Variables Reset all local variables to their initial values
Reset All Global Variables Reset all global variables to their initial values

Conditions

Condition Description Params

Expressions

Expression Description Return Type Params

About

Util plugin that lets you reset global and local variables to their initial values


Languages

Language:JavaScript 100.0%