You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
Version 1
Current »
Description
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 | M | (optional) delay for executing the function. |
Return
Type | Description |
bool | true on success, false otherwise |