====== ArmA 3 Find All Meadows ====== [[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]] **2022-06-23T13:52:00Z** Find all meadows: {deletemarker _x} foreach allMapMarkers; _centerPos = getArray (configfile >> "CfgWorlds" >> worldName >> "centerPosition"); _allMeadows = selectBestPlaces [_centerPos,(worldSize / 2) * 1.4142,"(1 - forest) * (1 - hills) * (1 - sea) * (1 - trees) * (1 + meadow) * (1 - houses)",50,100]; _allMeadows = _allMeadows apply {_x#0}; { _marker = createmarker [str _x, _x]; _marker setmarkertype "mil_flag"; _marker setmarkercolor "ColorRed"; _marker setmarkertext format ["Flat %1",_forEachIndex]; } forEach _allMeadows; [[https://forums.bohemia.net/forums/topic/217123-flat-position-without-treesbushesetc-tanoa/?do=findComment&comment=3294859|Source bis forums]].