Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

NameTypeMandatory/OptionalDescription

stringMname of the variable that shall be the trigger for the task.

stringMname of the LUA function that shall be invoked.

number
M
O(optional) delay for executing the function.

Return

TypeDescription
booltrue on success, false otherwise