Additional error checking

This commit is contained in:
IT07 2016-04-17 16:36:17 +02:00
parent 8934358c2a
commit 810baaa5aa

View File

@ -99,6 +99,10 @@ if (_pos isEqualTypeArray [0,0,0]) then
}; };
_grp enableAttack true; _grp enableAttack true;
_spawned pushBack _grp; _spawned pushBack _grp;
} else
{
["fn_spawnVEMFrAI", 0, "failed to retrieve _groupSide"] spawn VEMFr_fnc_log;
breakOut "outer";
}; };
}; };
@ -108,6 +112,7 @@ if (_pos isEqualTypeArray [0,0,0]) then
{ {
_spawned = false; _spawned = false;
["fn_spawnVEMFrAI", 0, "failed to load AI's inventory..."] spawn VEMFr_fnc_log; ["fn_spawnVEMFrAI", 0, "failed to load AI's inventory..."] spawn VEMFr_fnc_log;
breakOut "outer";
}; };
} else } else
{ {