Adds mission event handler. Every event will create an array named _this, which contains specific information about the particular event.
Available mission event handlers:
- "Loaded" - Triggered when mission is succesfully loaded
- "Ended" - Triggered when the mission is successfully ended. In variable _this is stored type of the end ("end1","end2", etc.).
- "Draw3D" - It seems "Draw3D" mission EH is connected to your primary display. It will stop firing as soon as you Alt+Tab from the game and resume when you come back (unless Arma 3 client is launched with -window -nopause params). "Draw3D" does not fire at all on a dedicated server.
function:
String or
Code
Returned value (
Number) is the eventhandler ID