I guess you all know Origins, Sector B and the Ural(s) with loot as reward spawning at different locations.
I created a little test mission and got stuck now to spawn the Ural at different predefined positions.
I guess this could work with multiple markers to act as starting points, but I couldn't set it up correctly.
Tried something else (check below), but I must confess that my knowledge of scripting is much to low...
Of course it didn't work... :rolleyes:
if(isServer) then {
private ["_posArray","_randPos","_pos","_object"];
_posArray = [
[22680.2,19930.2,0.001],
[22580.2,19830.2,0.001],
[22480.2,19730.2,0.001],
];
_randPos = _posArray call bis_fnc_selectrandom;
_pos = _randPos select 0;
_vehicle_2000 = objNull;
if (true) then
{
_object = createVehicle ["Ural_TK_CIV_EP1", [_pos], [], 0, "CAN_COLLIDE"];
_vehicle_2000 = _object;
_object setposatl [_pos];
};
};

