/*
Bryan
Exile Server Manager
Gets the flag object in game from it's ID. Returns null if it doesn't exist
*/
// Loop through all the flags and get the flag
_flagObject = objNull;
{
if ((_x getVariable ["ExileDatabaseID", -1]) isEqualTo _this) then
{
_flagObject = _x;
};
false
}
count (allMissionObjects "Exile_Construction_Flag_Static");
_flagObject