/
nxa.AddVarTask
nxa.AddVarTask
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 | O | (optional) delay for executing the function. |
Return
Type | Description |
---|---|
bool | true on success, false otherwise |
, multiple selections available,
Related content
nxa.AddItemEvent
nxa.AddItemEvent
More like this
nxa.AddSetTask
nxa.AddSetTask
More like this
nxa.AddWriteTask
nxa.AddWriteTask
More like this
nxa.AddVar
nxa.AddVar
More like this
nxa.WriteDestinationValue
nxa.WriteDestinationValue
More like this
nxa.InputValue, nxa.SourceValue
nxa.InputValue, nxa.SourceValue
More like this