As name says. Found with my custom mission full of scripts and mods, could reproduce on an "empty" mission with no mods loaded.
RPT:
Missionfile PBO:
As name says. Found with my custom mission full of scripts and mods, could reproduce on an "empty" mission with no mods loaded.
RPT:
init.sqf
addMissionEventHandler ["MarkerCreated", {
params ["_marker", "_channel"]; if (_marker select [0, 13] == "_USER_DEFINED" && _channel in [0,1,2,3]) then { deleteMarker _marker; };
}];
Placing marker/line in one of the named channels (0 = global, 1 = side, 2 = command, 3 = squad)
Didn't test on dedicated server.
No crashing and intended function works when using this instead:
addMissionEventHandler ["MarkerCreated", {
params ["_marker", "_channel"]; if (_marker select [0, 13] == "_USER_DEFINED" && _channel in [0,1,2,3]) then { _marker spawn {deleteMarker _this}; };
}];
Thanks Dedmen for the help!)