BetterDeadThanZed
Valued Member!
I am modifying some of the DZAI missions to include randomly selected vehicles at the missions. Looking at DZAI, I noticed BIS_fnc_selectRandom2 being used to randomize loot, skins, weapons etc.
What is the difference between BIS_fnc_selectRandom and BIS_fnc_selectRandom2? DZAI seems to use BIS_fnc_selectRandom2.
I ask because I had this in my log:
This is the lines before and after line 27:
What is the difference between BIS_fnc_selectRandom and BIS_fnc_selectRandom2? DZAI seems to use BIS_fnc_selectRandom2.
I ask because I had this in my log:
Code:
"[DZMS]: Running Major Mission MAJ2."
17:30:12 Error in expression <s call BIS_fnc_selectRandom;
_vehicle = createVehicle [_vehType,[(_coords select>
17:30:12 Error position: <createVehicle [_vehType,[(_coords select>
17:30:12 Error Type Any, expected String
17:30:12 File z\addons\dayz_server\DZMS\Missions\Major\MAJ2.sqf, line 27
This is the lines before and after line 27:
Code:
_vehType = DZMS_vehTypes call BIS_fnc_selectRandom;
_vehicle = createVehicle [_vehType,[(_coords select 0) + 10.0303, (_coords select 1) - 12.2979,10],[], 0, "CAN_COLLIDE"];
_vehicle1 = createVehicle [_vehType,[(_coords select 0) - 6.2764, (_coords select 1) - 14.086,10],[], 0, "CAN_COLLIDE"];
Last edited: