Try to stay away from .sqs at least for later.
So your flare.sqs"
_cnt = 0;
flare1 = "F_40mm_Red" createVehicle [getPos tresflare1 select 0, getPos tresflare1 select 1, 35];
~3.5
#loop
; _cnt == "amount of times loop is run befor it ends"
?(_cnt == 400) : goto "end";
flare1 setPosASL [ (getPosASL tresflare1 select 0) + 0.199, (getPosASL tresflare1 select 1) - 0.199, (getPosASL tresflare1 select 2) + 2];
~0.001
_cnt = _cnt + 1;
goto "loop"
~1
#end
exit
instead try:
publicvariable "flare1";
_cnt = 0;
flare1 = "F_40mm_Red" createVehicle [getPos tresflare1 select 0, getPos tresflare1 select 1, 35];
sleep 3.5;
while {_cnt < 400} do
{
//_cnt == "amount of times loop is run befor it ends";
flare1 setPosASL [ (getPosASL tresflare1 select 0) + 0.199, (getPosASL tresflare1 select 1) - 0.199, (getPosASL tresflare1 select 2) + 2];
sleep 0.01;
_cnt = _cnt + 1;
};
exitwith{}
does the same thing with better formatting,
plus I belive publicvariable makes it run on all machines (MP).
Luke