/** * ExileServerManager_util_getFlagObject * * Bryan * www.arcasindustries.com * © 2017 Arcas Industries * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_flagObject"]; _flagObject = objNull; { if ((_x getVariable ["ExileDatabaseID", -1]) isEqualTo _this) then { _flagObject = _x; }; false } count (allMissionObjects "Exile_Construction_Flag_Static"); _flagObject