Jump to content

4 types of Side Missions (Events)


Aidem

Recommended Posts

Hi everyone, for some reason there is the same loot in every supply drop (construction, lifesupply) It only gives this loot everytime:

 ["MakarovSD"],
["workbench_kit","8Rnd_9x18_MakarovSD","cinder_wall_kit","ItemComboLock","ItemComboLock","cinder_garage_kit"]

Why does the script not give another line of loot that is also setup?

I will post my settings for the construction mission. 

private ["_spawnChance", "_spawnMarker", "_spawnRadius", "_markerRadius", "_item", "_debug", "_start_time", "_loot", "_loot_amount", "_loot_box", "_wait_time", "_spawnRoll", "_position", "_event_marker", "_loot_pos", "_debug_marker","_loot_box", "_hint"];
 
_spawnChance =  0.95; // Percentage chance of event happening
_markerRadius = 200; // Radius the loot can spawn and used for the marker
_debug = false; // Puts a marker exactly were the loot spawns
 
_loot_box = "GuerillaCacheBox";
_loot_lists = [
[
["MakarovSD"],
["ItemWoodStairs","8Rnd_9x18_MakarovSD","MortarBucket","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","MortarBucket","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","MortarBucket","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","CinderBlocks","MortarBucket","CinderBlocks"]
],
[
["MakarovSD"],
["8Rnd_9x18_MakarovSD","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack","PartPlywoodPack","PartPlankPack"]
],
[
["MakarovSD"],
["8Rnd_9x18_MakarovSD","metal_floor_kit","ItemWoodFloor","metal_floor_kit","ItemWoodFloor","metal_floor_kit","ItemWoodFloor","metal_floor_kit","ItemWoodFloor","ItemLockbox"]
],
[
["MakarovSD"],
["8Rnd_9x18_MakarovSD","outhouse_kit","cinder_wall_kit","cinder_wall_kit","cinder_wall_kit","cinder_wall_kit","cinder_wall_kit","cinder_wall_kit"]
],
[
["MakarovSD"],
["outhouse_kit","8Rnd_9x18_MakarovSD","ItemWoodStairs","ItemWoodStairs","workbench_kit","ItemComboLock","ItemComboLock","ItemWoodWallLg","ItemWoodWallGarageDoor","ItemWoodWallWindowLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg"]
],
[
["MakarovSD"],
["8Rnd_9x18_MakarovSD","ItemWoodStairs","ItemComboLock","ItemComboLock","ItemWoodWallLg","ItemWoodWallGarageDoor","ItemWoodWallWindowLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg"]
],
[
["MakarovSD"],
["PartGeneric","8Rnd_9x18_MakarovSD","metal_floor_kit","PartGeneric","metal_floor_kit","PartGeneric","metal_floor_kit","PartGeneric","metal_floor_kit","PartGeneric","metal_floor_kit","PartGeneric","metal_floor_kit"]
],
[
["MakarovSD"],
["ItemWoodWallGarageDoor","8Rnd_9x18_MakarovSD","ItemWoodWallWindowLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallWindowLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallLg","ItemWoodWallWindowLg"]
],
[
["MakarovSD"],
["workbench_kit","8Rnd_9x18_MakarovSD","cinder_wall_kit","ItemComboLock","ItemComboLock","cinder_garage_kit"]
],
[
["MakarovSD"],
["workbench_kit","8Rnd_9x18_MakarovSD","wood_shack_kit","wood_shack_kit","wood_shack_kit","deer_stand_kit","ItemWoodLadder","desert_net_kit","ItemWoodLadder","desert_net_kit","ItemSandbagLarge"]
]
];
_loot = _loot_lists call BIS_fnc_selectRandom;
 
_loot_amount = 75;
_wait_time = 1900; 
 
// Dont mess with theses unless u know what yours doing
_start_time = time;
_spawnRadius = 5000;
_spawnMarker = 'center';
 
if (isNil "EPOCH_EVENT_RUNNING") then {
EPOCH_EVENT_RUNNING = false;
};
 
// Check for another event running
if (EPOCH_EVENT_RUNNING) exitWith {
diag_log("Event already running");
};
 
// Random chance of event happening
_spawnRoll = random 1;
if (_spawnRoll > _spawnChance and !_debug) exitWith {};
 
// Random location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
 
diag_log(format["Spawning loot event at %1", _position]);
 
_event_marker = createMarker [ format ["loot_event_marker_%1", _start_time], _position];
_event_marker setMarkerShape "ELLIPSE";
_event_marker setMarkerColor "ColorGreen";
_event_marker setMarkerAlpha 0.5;
_event_marker setMarkerSize [(_markerRadius + 50), (_markerRadius + 50)];
 
_loot_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos;
 
if (_debug) then {
_debug_marker = createMarker [ format ["loot_event_debug_marker_%1", _start_time], _loot_pos];
_debug_marker setMarkerShape "ICON";
_debug_marker setMarkerType "mil_dot";
_debug_marker setMarkerColor "ColorGreen";
_debug_marker setMarkerAlpha 1;
};
 
diag_log(format["Creating ammo box at %1", _loot_pos]);
 
// Create ammo box
_loot_box = createVehicle [_loot_box,_loot_pos,[], 0, "NONE"];
clearMagazineCargoGlobal _loot_box;
clearWeaponCargoGlobal _loot_box;
 
// Cut the grass around the loot position
_clutter = createVehicle ["ClutterCutter_small_2_EP1", _loot_pos, [], 0, "CAN_COLLIDE"];
_clutter setPos _loot_pos;
// cut the grass    end
 
// Add loot
{
_loot_box addWeaponCargoGlobal [_x,1];
} forEach (_loot select 0);
{
_loot_box addMagazineCargoGlobal [_x,1];
} forEach (_loot select 1);
 
// Send Top Right message to users , requires Remote message script
_hint = parseText format["<t align='center' color='#00FF11' shadow='2' size='1.75'>Construction Crate</t><br/><t align='center' color='#ffffff'>A Bandit basebuilding truck lost its Cargo, Check your Map for the Location!</t>"];
customRemoteMessage = ['hint', _hint];
publicVariable "customRemoteMessage";

// Send center message to users 
[nil,nil,rTitleText,"Ikea Truck lost its Cargo, Check your Map for the Location!", "PLAIN",10] call RE;

diag_log(format["Loot event setup, waiting for %1 seconds", _wait_time]);

// Wait
sleep _wait_time;
 
// Clean up
EPOCH_EVENT_RUNNING = false;
deleteVehicle _loot_box;
deleteMarker _event_marker;
if (_debug) then {
deleteMarker _debug_marker;
};
Link to comment
Share on other sites

try this.

above this

// Add loot

add this:

for "_x" from 1 to _loot_amount do {
	private ["_type", "_items"];
	_type = round(random 1);
	_items = _loot select _type;
	_item = _items call BIS_fnc_selectRandom;
	if (_type == 0) then {
		_loot_box addWeaponCargoGlobal [_item,1];
	} else {
		_loot_box addMagazineCargoGlobal [_item,1];
	};
};
Link to comment
Share on other sites

I have implemented more items and text messages me and does not work, any help?

 

private ["_spawnChance", "_spawnMarker", "_spawnRadius", "_markerRadius", "_item", "_debug", "_start_time", "_loot", "_loot_amount", "_loot_box", "_wait_time", "_spawnRoll", "_position", "_event_marker", "_loot_pos", "_debug_marker","_loot_box", "_hint"];
 
_spawnChance =  0.75; // Percentage chance of event happening
_markerRadius = 350; // Radius the loot can spawn and used for the marker
_debug = true; // Puts a marker exactly were the loot spawns

_loot_box = "SpecialWeaponsBox";
_loot_lists = [
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodCanPasta", "ItemSodaPepsi", "FoodCanSardines", "ItemSodaCoke"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodBioMeat", "FoodrabbitCooked", "ItemSodaMtngreen", "ItemSodaDrwaste"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "ItemTunaCooked", "ItemSodaRbull", "ItemSeaBassCooked", "ItemSodaClays"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodCanPasta", "ItemSodaPepsi", "FoodCanSardines", "ItemSodaCoke"],["ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodBioMeat", "FoodrabbitCooked", "ItemSodaMtngreen", "ItemSodaDrwaste"],["ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "ItemTunaCooked", "ItemSodaRbull", "ItemSeaBassCooked", "ItemSodaClays"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull",,"ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodCanPasta", "ItemSodaPepsi", "FoodCanSardines", "ItemSodaCoke"],["ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodBioMeat", "FoodrabbitCooked", "ItemSodaMtngreen", "ItemSodaDrwaste"],["ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "ItemTunaCooked", "ItemSodaRbull", "ItemSeaBassCooked", "ItemSodaClays"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemBloodbag", "ItemAntibiotic", "ItemPainkiller", "ItemMorphine", "ItemBandage", "ItemEpinephrine", "FoodBioMeat", "FoodrabbitCooked", "ItemSodaMtngreen", "ItemSodaDrwaste"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Camo1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_CZ_Special_Forces_GL_DES_EP1_DZ","Skin_Drake_Light_DZ","Skin_FR_OHara_DZ","Skin_FR_Rodriguez_DZ","Skin_Graves_Light_DZ","Skin_Sniper1_DZ","Skin_Soldier1_DZ","Skin_Soldier_Bodyguard_AA12_PMC_DZ"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Functionary1_EP1_DZ","Skin_Pilot_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker2_DZ","Skin_RU_Policeman_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Functionary1_EP1_DZ","Skin_Priest_DZ"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Bandit1_DZ","Skin_Bandit2_DZ","Skin_BanditW1_DZ","Skin_GUE_Commander_DZ","kin_GUE_Soldier_2_DZ","Skin_GUE_Soldier_Crew_DZ","Skin_GUE_Soldier_Sniper_DZ","Skin_Ins_Soldier_GL_DZ","Skin_TK_INS_Soldier_EP1_DZ","Skin_TK_INS_Warlord_EP1_DZ","Skin_GUE_Commander_DZ"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan"]
],
[
["M9SD"],
["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine"]
]
];
_loot = _loot_lists call BIS_fnc_selectRandom;
 
_loot_amount = 45;
_wait_time = 900;
 
// Dont mess with theses unless u know what yours doing
_start_time = time;
_spawnRadius = 4000;
_spawnMarker = 'center';
 
if (isNil "EPOCH_EVENT_RUNNING") then {
EPOCH_EVENT_RUNNING = false;
};
 
// Check for another event running
if (EPOCH_EVENT_RUNNING) exitWith {
diag_log("Event already running");
};
 
// Random chance of event happening
_spawnRoll = random 1;
if (_spawnRoll > _spawnChance and !_debug) exitWith {};
 
// Random location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;
 
//diag_log(format["Spawning loot event at %1", _position]);

_markerName =  format ["loot_event_marker_%1", _start_time];//To delete this later you must use the name, not the object..
createMarker [_markerName, _position];
_markerName setMarkerShape "ELLIPSE";
_markerName setMarkerColor "ColorBlue";
_markerName setMarkerAlpha 0.5;
_markerName setMarkerSize [(_markerRadius + 50), (_markerRadius + 50)];
_markerName setMarkerText "UN Agency";//Text too small to be seen. Useful as setMarkerText forces marker to be global if mission is ever run from a client (HC)

_loot_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos;
 
if (_debug) then {
_debugMarkerName = format ["loot_event_debug_marker_%1", _start_time];
createMarker [_debugMarkerName , _loot_pos];
_debugMarkerName setMarkerShape "ICON";
_debugMarkerName setMarkerType "mil_dot";
_debugMarkerName setMarkerColor "ColorBlack";//Allows text / dot to be seen.
_debugMarkerName setMarkerAlpha 1;
_debugMarkerName setMarkerText "UN Agency ";
};
 
diag_log(format["Creating ammo box at %1", _loot_pos]);
 
// Create ammo box
_loot_box = createVehicle [_loot_box,_loot_pos,[], 0, "NONE"];
clearMagazineCargoGlobal _loot_box;
clearWeaponCargoGlobal _loot_box;
 
// Cut the grass around the loot position
_clutter = createVehicle ["ClutterCutter_small_2_EP1", _loot_pos, [], 0, "CAN_COLLIDE"];
_clutter setPos _loot_pos;
// cut the grass    end
 
// Add loot
{
_loot_box addWeaponCargoGlobal [_x,1];
} forEach (_loot select 0);
{
_loot_box addMagazineCargoGlobal [_x,1];
} forEach (_loot select 1);
 
// Send Top Right message to users , requires Remote message script
_hint = parseText format["<t align=center' color='#0D00FF' shadow='2' size='1.75'>Supply Crate</t><br/><t align='center' color='#ffffff'>UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!</t&gt];
customRemoteMessage = ['hint', _hint];
publicVariable "customRemoteMessage";

// Send center message to users
_hint = parseText format["<t align=center' color='#0D00FF' shadow='2' size='1.75'>Supply Crate</t><br/><t align='center' color='#ffffff'>UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!</t&gt];
customRemoteMessage = [nil,nil,rTitleText,"UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!", "PLAIN",10] call RE;
publicVariable "customRemoteMessage";

diag_log(format["Loot event setup, waiting for %1 seconds", _wait_time]);

// Wait
sleep _wait_time;


// Clean up
EPOCH_EVENT_RUNNING = false;

// End RefreshMarker
//sleep 30; //Wait to let the RefreshMarkerScript finish its loop

deleteVehicle _loot_box;
deleteMarker _event_marker;
if (_debug) then {
    deleteMarker _debug_marker;
};

//  Send center message to users
[nil,nil,rTitleText,format["Event UN Agency ¡Finish!.You missed your chance"], "PLAIN",10] call RE;
 

Link to comment
Share on other sites

Hi, I am having trouble with getting this script to work, I have customized it a bit, but it came up with this in the rpt log(literally about 1000 lines):

 

_loot = _loot_lists call BIS_fnc_selec>

18:34:55   Error position: <;
_loot = _loot_lists call BIS_fnc_selec>
18:34:55   Error Missing ]
18:34:55 File z\addons\dayz_server\modules\Military.sqf, line 141
18:34:55 Error in expression <","FHQ_rem_5Rnd_300Win_XM2010_T_SD"]
]
];
 
Heres my Military.sqf: http://pastebin.com/iyJPSfAN
 
Thanks!
Link to comment
Share on other sites

 

Hi, I am having trouble with getting this script to work, I have customized it a bit, but it came up with this in the rpt log(literally about 1000 lines):

 

_loot = _loot_lists call BIS_fnc_selec>

18:34:55   Error position: <;
_loot = _loot_lists call BIS_fnc_selec>
18:34:55   Error Missing ]
18:34:55 File z\addons\dayz_server\modules\Military.sqf, line 141
18:34:55 Error in expression <","FHQ_rem_5Rnd_300Win_XM2010_T_SD"]
]
];
 
Heres my Military.sqf: http://pastebin.com/iyJPSfAN
 
Thanks!

 

your (i believe they called arrays) are all messed up all but the first one...

 

notice all the extra [

 

  1. [["RH_hk416sgleotech","RH_hk416sglacog"],["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD"]],
    
 

should be more like this

[
["RH_hk416sgleotech","RH_hk416sglacog"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],

go through and remove ALL the extra [

 

 

TRY THIS.................

 

_loot_lists = [
[
["M9SD"],
["20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD"]
],
[
["RH_hk416sgleotech","RH_hk416sglacog"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_mk18dcglaim","RH_mk18dcglacog","RH_mk18dcgleot"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_Scarl","RH_Scarh_sd_acog","RH_Scarh_sd_gl_aim"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_m4ctsdglaim","RH_m4ctsdgleotech","RH_m4ctsdglacog"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_m14ebrsp_sd","RH_m14ebrgc_sd"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_M249","RH_M249acog","RH_M249elcan","RH_M249p","RH_M249pacog","RH_M249pelcan","RH_Mk48mod1","RH_Mk48mod1acog","RH_Mk48mod1elcan"],
["HandGrenade_West","SmokeShell","SmokeShellGreen","SmokeShellRed","SmokeShellYellow","SmokeShellOrange","SmokeShellPurple","SmokeShellBlue","PipeBomb","PipeBomb","PipeBomb","PipeBomb","Mine","Mine","Mine","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249"]
],
[
["M107","RH_mk12","RH_mk12mod1","RH_mk12sd","RH_mk12mod1sd"],
["10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD"]
],
[
["BAF_AS50_scoped","RH_m16a4eotech","RH_m16a4gleotech"],
["10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD"]
],
[
["DMR","M4SPR","M24","M40A3","RH_M4aim_wdl","RH_M4gleotech_wdl","RH_M4sdaim_wdl","RH_M4sdgleotech_wdl","FHQ_ACR_WDL_IRN",
"FHQ_ACR_WDL_IRN_F",
"FHQ_ACR_WDL_IRN_GL",
"FHQ_ACR_WDL_IRN_GL_F",
"FHQ_ACR_WDL_CCO",
"FHQ_ACR_WDL_CCO_F",
"FHQ_ACR_WDL_CCO_GL",
"FHQ_ACR_WDL_CCO_GL_F",
"FHQ_ACR_WDL_RCO",
"FHQ_ACR_WDL_RCO_F",
"FHQ_ACR_WDL_RCO_GL",
"FHQ_ACR_WDL_RCO_GL_F",
"FHQ_ACR_WDL_HWS",
"FHQ_ACR_WDL_HWS_F",
"FHQ_ACR_WDL_HWS_GL",
"FHQ_ACR_WDL_HWS_GL_F",
"FHQ_ACR_WDL_G33",
"FHQ_ACR_WDL_G33_F",
"FHQ_ACR_WDL_G33_GL",
"FHQ_ACR_WDL_G33_GL_F",
"FHQ_ACR_WDL_HAMR",
"FHQ_ACR_WDL_HAMR_F",
"FHQ_ACR_WDL_HAMR_GL",
"FHQ_ACR_WDL_HAMR_GL_F",
"FHQ_ACR_BLK_IRN",
"FHQ_ACR_BLK_IRN_F",
"FHQ_ACR_BLK_IRN_GL",
"FHQ_ACR_BLK_IRN_GL_F",
"FHQ_ACR_BLK_CCO",
"FHQ_ACR_BLK_CCO_F",
"FHQ_ACR_BLK_CCO_GL",
"FHQ_ACR_BLK_CCO_GL_F",
"FHQ_ACR_BLK_RCO",
"FHQ_ACR_BLK_RCO_F",
"FHQ_ACR_BLK_RCO_GL",
"FHQ_ACR_BLK_RCO_GL_F",
"FHQ_ACR_BLK_HWS",
"FHQ_ACR_BLK_HWS_F",
"FHQ_ACR_BLK_HWS_GL",
"FHQ_ACR_BLK_HWS_GL_F",
"FHQ_ACR_BLK_G33",
"FHQ_ACR_BLK_G33_F",
"FHQ_ACR_BLK_G33_GL",
"FHQ_ACR_BLK_G33_GL_F",
"FHQ_ACR_BLK_HAMR",
"FHQ_ACR_BLK_HAMR_F",
"FHQ_ACR_BLK_HAMR_GL",
"FHQ_ACR_BLK_HAMR_GL_F",
"FHQ_ACR_TAN_IRN",
"FHQ_ACR_TAN_IRN_F",
"FHQ_ACR_TAN_IRN_GL",
"FHQ_ACR_TAN_IRN_GL_F",
"FHQ_ACR_TAN_CCO",
"FHQ_ACR_TAN_CCO_F",
"FHQ_ACR_TAN_CCO_GL",
"FHQ_ACR_TAN_CCO_GL_F",
"FHQ_ACR_TAN_RCO",
"FHQ_ACR_TAN_RCO_F",
"FHQ_ACR_TAN_RCO_GL",
"FHQ_ACR_TAN_RCO_GL_F",
"FHQ_ACR_TAN_HWS",
"FHQ_ACR_TAN_HWS_F",
"FHQ_ACR_TAN_HWS_GL",
"FHQ_ACR_TAN_HWS_GL_F",
"FHQ_ACR_TAN_G33",
"FHQ_ACR_TAN_G33_F",
"FHQ_ACR_TAN_G33_GL",
"FHQ_ACR_TAN_G33_GL_F",
"FHQ_ACR_TAN_HAMR",
"FHQ_ACR_TAN_HAMR_F",
"FHQ_ACR_TAN_HAMR_GL",
"FHQ_ACR_TAN_HAMR_GL_F",
"FHQ_ACR_SNW_IRN",
"FHQ_ACR_SNW_IRN_F",
"FHQ_ACR_SNW_IRN_GL",
"FHQ_ACR_SNW_IRN_GL_F",
"FHQ_ACR_SNW_CCO",
"FHQ_ACR_SNW_CCO_F",
"FHQ_ACR_SNW_CCO_GL",
"FHQ_ACR_SNW_CCO_GL_F",
"FHQ_ACR_SNW_RCO"],
["20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD"]
],
[
["FHQ_RSASS_SD_TAN","FHQ_RSASS_TWS_SD_TAN"],
["FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD"]
],
[
["FHQ_MSR_SD_DESERT","FHQ_MSR_NV_SD_DESERT","FHQ_MSR_TWS_SD_DESERT"],
["FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD"]
],
[
["FHQ_XM2010_SD_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_TWS_DESERT","FHQ_XM2010_TWS_SD_DESERT"],
["FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD"]
]
];

 

 

Link to comment
Share on other sites

 

your (i believe they called arrays) are all messed up all but the first one...

 

notice all the extra [

 

  1. [["RH_hk416sgleotech","RH_hk416sglacog"],["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD",["30Rnd_556x45_StanagSD"]],
    
 

should be more like this

[
["RH_hk416sgleotech","RH_hk416sglacog"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],

go through and remove ALL the extra [

 

 

TRY THIS.................

 

_loot_lists = [
[
["M9SD"],
["20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD","20Rnd_556x45_Stanag","30Rnd_556x45_G36","30Rnd_556x45_G36SD","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_9x19_MP5","30Rnd_9x19_MP5SD","15Rnd_9x19_M9SD"]
],
[
["RH_hk416sgleotech","RH_hk416sglacog"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_mk18dcglaim","RH_mk18dcglacog","RH_mk18dcgleot"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_Scarl","RH_Scarh_sd_acog","RH_Scarh_sd_gl_aim"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_m4ctsdglaim","RH_m4ctsdgleotech","RH_m4ctsdglacog"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_m14ebrsp_sd","RH_m14ebrgc_sd"],
["30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD", "30Rnd_556x45_StanagSD"]
],
[
["RH_M249","RH_M249acog","RH_M249elcan","RH_M249p","RH_M249pacog","RH_M249pelcan","RH_Mk48mod1","RH_Mk48mod1acog","RH_Mk48mod1elcan"],
["HandGrenade_West","SmokeShell","SmokeShellGreen","SmokeShellRed","SmokeShellYellow","SmokeShellOrange","SmokeShellPurple","SmokeShellBlue","PipeBomb","PipeBomb","PipeBomb","PipeBomb","Mine","Mine","Mine","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249"]
],
[
["M107","RH_mk12","RH_mk12mod1","RH_mk12sd","RH_mk12mod1sd"],
["10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD"]
],
[
["BAF_AS50_scoped","RH_m16a4eotech","RH_m16a4gleotech"],
["10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","10Rnd_127x99_m107","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD"]
],
[
["DMR","M4SPR","M24","M40A3","RH_M4aim_wdl","RH_M4gleotech_wdl","RH_M4sdaim_wdl","RH_M4sdgleotech_wdl","FHQ_ACR_WDL_IRN",
"FHQ_ACR_WDL_IRN_F",
"FHQ_ACR_WDL_IRN_GL",
"FHQ_ACR_WDL_IRN_GL_F",
"FHQ_ACR_WDL_CCO",
"FHQ_ACR_WDL_CCO_F",
"FHQ_ACR_WDL_CCO_GL",
"FHQ_ACR_WDL_CCO_GL_F",
"FHQ_ACR_WDL_RCO",
"FHQ_ACR_WDL_RCO_F",
"FHQ_ACR_WDL_RCO_GL",
"FHQ_ACR_WDL_RCO_GL_F",
"FHQ_ACR_WDL_HWS",
"FHQ_ACR_WDL_HWS_F",
"FHQ_ACR_WDL_HWS_GL",
"FHQ_ACR_WDL_HWS_GL_F",
"FHQ_ACR_WDL_G33",
"FHQ_ACR_WDL_G33_F",
"FHQ_ACR_WDL_G33_GL",
"FHQ_ACR_WDL_G33_GL_F",
"FHQ_ACR_WDL_HAMR",
"FHQ_ACR_WDL_HAMR_F",
"FHQ_ACR_WDL_HAMR_GL",
"FHQ_ACR_WDL_HAMR_GL_F",
"FHQ_ACR_BLK_IRN",
"FHQ_ACR_BLK_IRN_F",
"FHQ_ACR_BLK_IRN_GL",
"FHQ_ACR_BLK_IRN_GL_F",
"FHQ_ACR_BLK_CCO",
"FHQ_ACR_BLK_CCO_F",
"FHQ_ACR_BLK_CCO_GL",
"FHQ_ACR_BLK_CCO_GL_F",
"FHQ_ACR_BLK_RCO",
"FHQ_ACR_BLK_RCO_F",
"FHQ_ACR_BLK_RCO_GL",
"FHQ_ACR_BLK_RCO_GL_F",
"FHQ_ACR_BLK_HWS",
"FHQ_ACR_BLK_HWS_F",
"FHQ_ACR_BLK_HWS_GL",
"FHQ_ACR_BLK_HWS_GL_F",
"FHQ_ACR_BLK_G33",
"FHQ_ACR_BLK_G33_F",
"FHQ_ACR_BLK_G33_GL",
"FHQ_ACR_BLK_G33_GL_F",
"FHQ_ACR_BLK_HAMR",
"FHQ_ACR_BLK_HAMR_F",
"FHQ_ACR_BLK_HAMR_GL",
"FHQ_ACR_BLK_HAMR_GL_F",
"FHQ_ACR_TAN_IRN",
"FHQ_ACR_TAN_IRN_F",
"FHQ_ACR_TAN_IRN_GL",
"FHQ_ACR_TAN_IRN_GL_F",
"FHQ_ACR_TAN_CCO",
"FHQ_ACR_TAN_CCO_F",
"FHQ_ACR_TAN_CCO_GL",
"FHQ_ACR_TAN_CCO_GL_F",
"FHQ_ACR_TAN_RCO",
"FHQ_ACR_TAN_RCO_F",
"FHQ_ACR_TAN_RCO_GL",
"FHQ_ACR_TAN_RCO_GL_F",
"FHQ_ACR_TAN_HWS",
"FHQ_ACR_TAN_HWS_F",
"FHQ_ACR_TAN_HWS_GL",
"FHQ_ACR_TAN_HWS_GL_F",
"FHQ_ACR_TAN_G33",
"FHQ_ACR_TAN_G33_F",
"FHQ_ACR_TAN_G33_GL",
"FHQ_ACR_TAN_G33_GL_F",
"FHQ_ACR_TAN_HAMR",
"FHQ_ACR_TAN_HAMR_F",
"FHQ_ACR_TAN_HAMR_GL",
"FHQ_ACR_TAN_HAMR_GL_F",
"FHQ_ACR_SNW_IRN",
"FHQ_ACR_SNW_IRN_F",
"FHQ_ACR_SNW_IRN_GL",
"FHQ_ACR_SNW_IRN_GL_F",
"FHQ_ACR_SNW_CCO",
"FHQ_ACR_SNW_CCO_F",
"FHQ_ACR_SNW_CCO_GL",
"FHQ_ACR_SNW_CCO_GL_F",
"FHQ_ACR_SNW_RCO"],
["20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","20Rnd_762x51_DMR","5Rnd_762x51_M24","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","1Rnd_HE_M203","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","FHQ_rem_30Rnd_680x43_ACR_T_SD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD"]
],
[
["FHQ_RSASS_SD_TAN","FHQ_RSASS_TWS_SD_TAN"],
["FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD","FHQ_rem_20Rnd_762x51_PMAG_T_SD"]
],
[
["FHQ_MSR_SD_DESERT","FHQ_MSR_NV_SD_DESERT","FHQ_MSR_TWS_SD_DESERT"],
["FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD","FHQ_rem_10Rnd_338Lapua_MSR_T_SD"]
],
[
["FHQ_XM2010_SD_DESERT","FHQ_XM2010_NV_DESERT","FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_TWS_DESERT","FHQ_XM2010_TWS_SD_DESERT"],
["FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD","FHQ_rem_5Rnd_300Win_XM2010_T_SD"]
]
];

 

 

 

Ah Thanks very much, it worked. And is it possible to change the crate types? For example I want "USSpecialWeaponBox", I assume I just change "_loot_box =", But when I changed it, it doesn't spawn any ammo boxes..... It said Creating A Ammo Box in the rpt log but none spawned.

Link to comment
Share on other sites

  • 3 weeks later...

I'm working on a number of side missions using the missions here combined with WAI spawning and custom bases I have added to the map.

 

Can someone please help alter the following code code so that it spawns the crate in a static location of my choosing?

 

Original

// Random location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;

I believe this line is picking a suitable spot for the mission and not setting the exact position of the crate. I'm also not sure how large or open the area has to be to find a suitable place to spawn a weapons crate.

 

Original code taken from the treasure.sqf side mission found here:

 

 

 

As a completely uneducated guess I tried this which seems to fail as the mission never runs.

// Static location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] setPos [10113.624, 1936.8761, 0]; 

Thanks

Link to comment
Share on other sites

 

I'm working on a number of side missions using the missions here combined with WAI spawning and custom bases I have added to the map.

 

Can someone please help alter the following code code so that it spawns the crate in a static location of my choosing?

 

Original

// Random location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;

I believe this line is picking a suitable spot for the mission and not setting the exact position of the crate. I'm also not sure how large or open the area has to be to find a suitable place to spawn a weapons crate.

 

Original code taken from the treasure.sqf side mission found here:

 

 

 

As a completely uneducated guess I tried this which seems to fail as the mission never runs.

// Static location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] setPos [10113.624, 1936.8761, 0]; 

Thanks

 

Why not just make some custom mission through WAI then.. probably simpler mate  

Link to comment
Share on other sites

I've asked for a help in that respect with a sample of a static mission for WAI but no  one has responded....and I'm at best a hack..so piecing it together via trial and error as best I can.

 

On top of that the installations or bases Ive added already have AI patrolling them. I just need to spawn the crate and notify players of its location.

Link to comment
Share on other sites

If your just using static Ai spawns in a AI base  use static loot crates and a custom map marker.  There are plenty of "how to's" on each topic here on the boards.. 

 

Your making things far more complicated than they need to be by trying to modify a dynamic loot spawn into what you just described.

 

Best of luck man. 

Link to comment
Share on other sites

I don't want static loot crates if it means they are always available and always marked. I want them to appear in a static spot but spawn randomly so that they aren't always available. What you describe is too predictable to players who could just wait for a restart and go loot the crates they know are full of treasure and supplies.

 

As for making it more complicated I don't understand how I could be. The 4 side missions are announced to the players, spawn with a random chance, random loot and in random locations..all I need changed is the random location to a static location of my choosing. What could be simpler? 

 

We are talking just a few lines of code in one mission. This seems like the most direct route to getting what I want. I'd rather not waste time debating how we do it.

Link to comment
Share on other sites

I don't want static loot crates if it means they are always available and always marked. I want them to appear in a static spot but spawn randomly so that they aren't always available. What you describe is too predictable to players who could just wait for a restart and go loot the crates they know are full of treasure and supplies.

 

As for making it more complicated I don't understand how I could be. The 4 side missions are announced to the players, spawn with a random chance, random loot and in random locations..all I need changed is the random location to a static location of my choosing. What could be simpler? 

 

We are talking just a few lines of code in one mission. This seems like the most direct route to getting what I want. I'd rather not waste time debating how we do it.

I am looking for this solution also. So it picks a random sqf file, that I made. Let people know it and then mark it on the map. 

Link to comment
Share on other sites

 

The solution was all too easy...

 

For static locations replace this:

// Random location
_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;

With this:

// Static Location
_position = [xxx, yyy, zzz];

 

Worked thank you :)

Link to comment
Share on other sites

You should also be able to do this following :

 

// List of Possible locations
_positionarray = [[xxx, yyy, zzz],[xxx, yyy, zzz],[xxx, yyy, zzz],[xxx, yyy, zzz],[xxx, yyy, zzz],[xxx, yyy, zzz]];
_position = _positionarray call BIS_fnc_selectRandom;
Link to comment
Share on other sites

Is there any way to make the markers show for JIP's?

 

currently if you log in after the event has started you won't see the marker. If you die and relog you also won't see the marker again.

 

Causing a bit of an issue with players putting up there own markers on the map....

Link to comment
Share on other sites

Is there any way to make the markers show for JIP's?

 

currently if you log in after the event has started you won't see the marker. If you die and relog you also won't see the marker again.

 

Causing a bit of an issue with players putting up there own markers on the map....

 

 

I think this is what you want: 

Was literally only a couple threads below this one...  ^_^

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...