grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » SetVar(handle, string, value) | Version 2.2 |
The SetVar Lua function sets a value to a specific variable in a set of variables. To learn more about the variables in plugins, look at the Variable Functions topic.
If the variable exists, then the value is overwritten. If it does not exist, then it is created with value.
This example sets a value to the variable called "myUserVar" in the set of user variables if it exists.
Lua |
return function() |