(info) This AI is still in early stages of development.

instance.onActivate()

Fired when the interval timer for a process instance becomes active.

 

Syntax

Processes("myProcess").onActivate = function(processName, processData) {
  // 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

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 prevent activation.

Â