ProcessStarted
Skip to content
mnscript
ProcessStarted(Process) 

Description ​

Invoked when an MNScript process starts.

Arguments ​

Process - The process which started

Example ​

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

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

Event.AddListener("ProcessStarted", "process start", "OnProcessStarted");