...
This function can be used to add a task that is triggered if a variable changes its value.
Signature
bool nxa.AddVarTask (string, string, number)
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | name of the variable that shall be the trigger for the task. | |
string | M | name of the LUA function that shall be invoked. | |
number |
O | (optional) delay for executing the function. |
Return
Type | Description |
---|---|
bool | true on success, false otherwise |