...
nxa.AddScriptTask (string, string, bool, bool, bool, number, string, number)
Parameters
Name | Type | Mandatory/Optional | Description | ||
---|---|---|---|---|---|
sourceItemID | string | MsourceItemID | |||
destinationItemID | string | M | destinationItemID | ||
triggerOnReceive | bool | M | corresponds to the OnReceive parameter of the task definition | ||
triggerOnSend | bool | M | corresponds to the OnSend parameter of the task definition | ||
triggerOnSet | bool | M | corresponds to the OnSet parameter of the task definition | ||
delay | number | M | time interval in milliseconds that the task will be delayed when triggered | ||
script | string | M | LUA script name that will be executed when the task is triggered | ||
moduleID | number | M | (optional) ModuleID. Needs O | Has to be > 5000. Can be referenced in the nxa.RemoveScriptTask function. |
...