Documentation
Variable Storage
Description
This addon allows users to add variables that can be used in exercises and simulations.
Properties
Property name | Description |
---|---|
Variables | A list of variables. Each of them has the following parameters:
|
Supported commands
Command name | Params | Description |
---|---|---|
getVariable | name | Returns the current value of the variable. |
setVariable | name, value |
Changes the current value of the variable. |
reset | --- | Resets the variables' values to the start ones. |
If users use the command setVariable for a variable that was not defined in the addon, a new variable will be created. Its start value will be false.
Scoring
Variable storage is not an activity module, so there is no scoring present.
Events
Variable storage does not send any events to Event Bus.
Demo presentation
Demo presentation contains examples of how to use the Advanced Connector addon.