Jump to content

Separate loot box for certain mission


Recommended Posts

Alright I've hit a wall and hopefully someone can help me out. I'm adding the C130 (EM1.sqf) mission in and my goal is to make this particular mission much harder but with better loot in the boxes. I have created another DZMSBox.sqf (DZMSC130Box.sqf) and DZMSWeaponCrateLoot.sqf (DZMSC130WeaponCrate.sqf) with the intention of calling the new "boxes". I have added the new calls to the init and Functions hoping this would load the new files.

 

I'm either missing something or this is not possible... All of the crates are still filling up with the default loot.

 

Someone please advise. I will paste the configured .SQFs below:

 

DZMSInit: http://pastebin.com/gNiQhTBQ

 

DZMSFunctions: http://pastebin.com/qXv57w09

 

DZMSBox: http://pastebin.com/q2QER1J6

 

DZMSC130Crate: http://pastebin.com/AzjzQL63

 

EM1 Mission: http://pastebin.com/HPZNgGkt

 

 

Link to comment
Share on other sites

Thanks Vampire, it worked out great. I think the completely unnecessary method I used would have worked if I would have just changed _type == "weapons" to a different name. 

 

Oh well, your method was far more efficient than calling an entirely different script.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...