Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private _bestPlaces = selectBestPlaces [
- getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"),
- worldSize,
- "houses",
- 25,
- 1
- ];
- private _startCenter = (_bestPlaces param [0, [[0,0,0]]]) param [0];
- "Center" setMarkerPos _startCenter;
- "Objectives" setMarkerPos getMarkerPos "Center";
- {
- _x setmarkerpos (["Center", true] call CBA_fnc_randPosArea);
- } forEach ["marker_1", "marker_2", "marker_3","marker_4", "marker_5", "marker_6"];
- {
- _pos = ["Objectives", false] call CBA_fnc_randPosArea;
- _x setmarkerpos _pos;
- if (!surfaceIsWater _pos) then {
- _box = "B_supplyCrate_F" createVehicle _pos;
- [_box, _x] remoteExecCall ["setVehicleVarName", 0];
- };
- } forEach ["Cache1", "Cache2", "Cache3"];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement