mission_Convoy modified to have mission reward vary, but hostileHilos won't work

So i noticed that the convoy mission spawns one of 3 sets of vehicles, one for each faction, BluFor, CSAT, and Indy.  I wanted to make the mission rewards different for each faction so you can read the file that shows how I did that.  So now when you kill the hunters it spawns NATO crates, and ifrits drop CSAT crates, etc.  It works for the convoy mission.  My problem is, I tried to do what I thought was the exact same thing for the hostile helicopters mission and nothing I try seems to work.  All the reward crate names and vehicle variant names are correct, they are all in my fn_refillbox.sqf or vehicleLoadouts.sqf files.

Nothing jumps out as wrong to me.

What happens when the mission runs and is completed?
Well theres a few things that would be enough to nuke it.  If you want to send it to me, I can go over it and hunt the problem down.  PM me for details.
  • Offline Cope
  • Geared Up
  • **
  • Posts: 26
you have fn_refillbox.sqf, in that file how is it set up? with no script it is kind of hard to see what you are doing. on  my missions where you have the
Code: [Select]
_box1 = createVehicle ["Box_NATO_Wps_F", _lastPos, [], 5, "None"];
box1 setDir random 360;
[_box1, "mission_NATOWeapons"] call fn_refillbox;

i have mine setup like
Code: [Select]
_box1 = createVehicle ["Box_IND_WpsSpecial_F", _missionPos, [], 5, "None"];
_box1 setDir random 360;
[_box1, "mission_Main_A3snipers"] call fn_refillbox;

than it will look for the case like
Code: [Select]
case "mission_Main_A3snipers":
in your fn_refillbox.sqf so you can select what items will spawn in the crate.

hope this helps