d7fbd39a4b
bug fix: attempt to sort the issue where AI groups kill each other on spawning
36 lines
1015 B
Plaintext
36 lines
1015 B
Plaintext
_logDetail = format ["[OCCUPATION:Unstick]:: Initialised at %1",time];
|
|
[_logDetail] call SC_fnc_log;
|
|
|
|
{
|
|
_logDetail = format ["[OCCUPATION:Unstick]:: Air: %1 is active",_x];
|
|
[_logDetail] call SC_fnc_log;
|
|
_x setFuel 1;
|
|
sleep 5;
|
|
}forEach SC_liveHelisArray;
|
|
|
|
{
|
|
_logDetail = format ["[OCCUPATION:Unstick]:: Land: %1 is active",_x];
|
|
[_logDetail] call SC_fnc_log;
|
|
_x setFuel 1;
|
|
[_x] call SC_fnc_comeUnstuck;
|
|
sleep 5;
|
|
}forEach SC_liveVehiclesArray;
|
|
|
|
{
|
|
_logDetail = format ["[OCCUPATION:Unstick]:: Sea: %1 is active",_x];
|
|
[_logDetail] call SC_fnc_log;
|
|
_x setFuel 1;
|
|
[_x] call SC_fnc_comeUnstuck;
|
|
sleep 5;
|
|
}forEach SC_liveBoatsArray;
|
|
|
|
{
|
|
_logDetail = format ["[OCCUPATION:Unstick]:: publicBus: %1 is active",_x];
|
|
[_logDetail] call SC_fnc_log;
|
|
_x setFuel 1;
|
|
[_x] call SC_fnc_comeUnstuck;
|
|
sleep 5;
|
|
}forEach SC_publicBusArray;
|
|
|
|
_logDetail = format ["[OCCUPATION:Unstick]:: Finished at %1",time];
|
|
[_logDetail] call SC_fnc_log; |