ProcessStopped
Skip to content
mnscript
ProcessStopped(Process) 

Description ​

Invoked when an MNScript process stops.

Arguments ​

Process - The process which stopped

Example ​

msc
using System;
using Console;
using Event;
using Util;

function OnProcessStopped(Process process){
    Console.WriteLine("Process stopped: "..Util.ToString(process.GetProcessId()));
}

Event.AddListener("ProcessStopped", "process stop", "OnProcessStopped");