AFAIK
exit is not even 'seen' by the game in sqf..
Fer has told me that even the latter code is unreliable
I can concur.
Recently when I was writing a bit of a complex script I came across the fact that
exitWith seems to work only on certain situations (not that I know which)..
For example this did not work:
if (_range < 60) then {if (!_err) exitWith {hint format ["blah blah",_grp,_range];};};
The script continued normally after that..
I started using
scopeName and
breakOut which works like a charm.
Or at least worked, it has been couple of game versions since I have been tinkering with that script..
Script handle could not be used hence why
terminate was out of the question..