This AI is still in early stages of development.

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 »

Fired immediately before a new process run starts.

 

Syntax

Processes("myProcess").onRun = function(processName, processData, runData) {
  // event handling code here
}

Parameters

ParameterTypeNotesProcess Version
processNameStringThe name of the instance that has been activated.0.1
processDataObjectThe data object associated with the activated instance.0.1
runDataVariant

The data associated with the process run.

Defaults to an empty object if nothing specified when the run is triggered.

0.1

Return values

The return value of the event handler is ignored.

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above

Future changes may include allowing a return value to abort the run.

 

  • No labels