Skip to content

Instantly share code, notes, and snippets.

@jameslkingsley
Created March 24, 2017 21:45
Show Gist options
  • Save jameslkingsley/4e77c069e059e12727b162c10d3e48fe to your computer and use it in GitHub Desktop.
Save jameslkingsley/4e77c069e059e12727b162c10d3e48fe to your computer and use it in GitHub Desktop.
{
_pos = ["Center", true] call CBA_fnc_randPosArea;
while {surfaceIsWater _pos} do {
_pos = ["Center", true] call CBA_fnc_randPosArea;
};
_x setMarkerPos _pos;
} forEach ["marker_1", "marker_2", "marker_3","marker_4", "marker_5", "marker_6"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment