Ok, tried a few things....without any usable result until now. I'll post the actual code so you can see what i've tried.
_STM_squad setCombatMode "BLUE";
_STM_squad setBehaviour "CARELESS";
_STM_squad enableAttack false;
_STM_squad allowFleeing 1;
{
_x disableAI "AUTOTARGET";
_x disableAI "TARGET";
_x setskill 0;
_x setCombatMode "BLUE";
_x setBehaviour "CARELESS";
_x action ["rearm",_STM_start_obj]
}
foreach units _STM_squad;
{
(_x select 0) flyinheight (_STM_flylevel * 2);
removeallweapons (_x select 0);
}
foreach _STM_squad_list;
_STM_squad move position _STM_start_obj;
[_STM_squad, 0] setWaypointPosition [position _STM_start_obj, 0];
[_STM_squad, 0] setWaypointType "GET OUT";
[_STM_squad, 0] setWaypointBehaviour "CARELESS";
[_STM_squad, 0] setWaypointCombatMode "BLUE";
[_STM_squad, 0] setWaypointFormation "ECH LEFT";
Please do not write that same thing is set twice or even three times and is completely redundant. I just try anything that comes in my mind. The result is still the same. The planes continue to fly attacks, even after removing all weapons which is more than pointless. What i will try next is to set the group to civilian side. Maybe this will stop them attacking and make them fly back home.
Info: i don't care if they fly in formation or each on its own, as long they return to carrier position.
If someone knows something i've not already tried please tell me, i'm getting mad about this one.
:EDITH:
Problem solved!And the Oscar goes to....johnnyboy!
Although i didn't used RACS side but civilian side, his way was working like a charm:
_STM_temp_center = createcenter Civilian;
_STM_temp_group = createGroup Civilian;
units _STM_squad join _STM_temp_group;
deletegroup _STM_squad;
Thats all it neededs (although the waypointsettings are still in). Thanks to all who throwed theyr input in here, gave me a lot ideas to try.
And if someone would find a solution for
this problem i would be really happy for today.
Thanks again mates.