Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

This function adds a new SCRIPT task definition during runtime.

Signature

nxa.AddScriptTask (string, string, bool, bool, bool, number, string, number)

Parameters

NameTypeMandatory/OptionalDescription
 stringMsourceItemID
 stringMdestinationItemID
 boolMcorresponds to the OnReceive parameter of the task definition (cf. Section 4.5.2)
 boolMcorresponds to the OnSend parameter of the task definition (cf. Section 4.5.2)
 boolMcorresponds to the OnSet parameter of the task definition (cf. Section 4.5.2)
 numberMtime interval in milliseconds that the task will be delayed when triggered
 stringMLUA script name that will be executed when the task is triggered
 numberM(optional) ModuleID. Needs to be > 5000. Can be referenced in the nxa.RemoveScriptTask function.

Return

None.

  • No labels