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 9 Next »

Deactivates and destroys either a specific process or all processes.

 

Syntax

Processes.destroy(); // destroy all processes!
Processes.destroy(processName); // destroy process with specific name

Parameters

ParameterTypeMandatoryNotesProcess Version
processNameString(error)

If specified, the process of that name will be deactivated then deleted.

If omitted, all processes will be deactivated then deleted.

0.1

Return Values

ValueTypeNotesProcess Version
undefinedUndefinedNothing is returned0.1

Examples

Processes("process1"); // make process #1
Processes("process2"); // #2
Processes("process3"); // #3
Processes.destroy("process1"); // #1 destroyed, #2 and #3 remain
Processes.destroy(); // #2 and #3 destroyed

Availability

Requires:

  • Warzone 3.1 or above
  • Pulse 0.1 or above

 

  • No labels