Jump to content

slan

Member
  • Content Count

    8
  • Joined

  • Last visited

  • Medals

Posts posted by slan


  1. Oh, I see. You want to add items to a crate then drop it with the Supply Drop?

     

    I don't that that's possible since the Supply Drop crate is created as it "leaves" the helicopter.

     

    You could delete the "new" crate and swap it with the one you added items to. Or name your item crate and run a function to get crate contents and add them to the crate being dropped, but I don't have access to Arma at the moment to test.

    yes but it would be simpler if there was the same interface or similar that the one in the crate interface


  2.  

    In the module there is an Expression line, use that to add or remove items from the crate it drops. For example:

     

    clearWeaponCargoglobal (_this select 0);
    clearmagazinecargoglobal (_this select 0);
    clearitemcargoglobal (_this select 0);
    clearbackpackcargoglobal (_this select 0);
    ["AmmoboxInit",[(_this select 0),true,{true}]] call BIS_fnc_arsenal;

     

    Yes I know that I was asking if there is a way to call an exist crate or if a window like in the crate where you can chose what to put in without thoses lines..


  3. You mean a crate you've edited the inventory in the editor? If so, I'm not sure you can.

    What I've done when using the supply drop is using these:

    https://community.bistudio.com/wiki/addItemCargoGlobal

    https://community.bistudio.com/wiki/addWeaponCargoGlobal

    https://community.bistudio.com/wiki/addMagazineCargoGlobal

    https://community.bistudio.com/wiki/addBackpackCargoGlobal

    It's tedious but works.

    Though, I think there should be a interface like the ones on placed containers in the module to edit the contents of the crate.

    Yes I know how to add each item but I was a way to make it easier to do it and I totally agree the content edit should also be available on supply drop.

    Thanks for your help

    Envoyé de mon SM-N910F en utilisant Tapatalk


  4. Hello,

    In a mission I am editing, I have a support requester with some supply drop. And I was wondering if there is a way to edit the content of the crate like with normals crates or by putting something in init crate.

    I can always put each things in init but if there is a simpler way, it would be good.

    Thanks for your help

×