Arma 3
How to add Virtual Arsenal to A Eden Editor Mission?
I put this in the init box( "AmmoboxInit",[this,true]] call BIS_fnc_arsenal;)
but when i do it comes up saying init; missing .Any Ideas?
< >
Beiträge 111 von 11
Vladdy 28. Juli 2016 um 13:01 
2
1
["AmmoboxInit",[this,true]] call BIS_fnc_arsenal;

should work
Yannick|i7 28. Juli 2016 um 13:09 
Try this: give a name to the entity (the object), Box_1 in my case
Then put
[Box_1,["%All"],true] call BIS_fnc_addVirtualBackpackCargo; [Box_1,["%All"],true] call BIS_fnc_addVirtualItemCargo; [Box_1,["%All"],true] call BIS_fnc_addVirtualMagazineCargo; [Box_1,["%All"],true] call BIS_fnc_addVirtualWeaponCargo;
in the INIT
Modify the number for more boxes.
"%All" can be replaced by actual weapon class names in a string.

Hope, I could help you ;)
Yannick
Zuletzt bearbeitet von Yannick|i7; 28. Juli 2016 um 13:11
Thanks Cheeki Breeki!
Dakota 5. März 2017 um 17:47 
Lies. I tried doing that, and it didn't work. ;-;
NZPorterDJ 5. März 2017 um 21:10 
Ursprünglich geschrieben von http://steamcommunity.com/sharedfiles/filedetails/?id=866990159:
Adding a Virtual Ammobox
  1. Add the container object that you wish to use for the Ammobox
  2. Add: 0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal; to the containers Init field
Ursprünglich geschrieben von WiLD|NZPorterDJ:
Ursprünglich geschrieben von http://steamcommunity.com/sharedfiles/filedetails/?id=866990159:
Adding a Virtual Ammobox
  1. Add the container object that you wish to use for the Ammobox
  2. Add: 0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal; to the containers Init field
Thanks
Ursprünglich geschrieben von WiLD|NZPorterDJ:
Ursprünglich geschrieben von http://steamcommunity.com/sharedfiles/filedetails/?id=866990159:
Adding a Virtual Ammobox
  1. Add the container object that you wish to use for the Ammobox
  2. Add: 0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal; to the containers Init field

This works marvels <3 thanks a lot
Ursprünglich geschrieben von CJ:
Ursprünglich geschrieben von WiLD|NZPorterDJ:

This works marvels <3 thanks a lot
I sometimes put a briefcase using this in my missions and set it to spawn randomly in a 5k radius and if anyone was to come aross it they have hit the end game jackpot lol
Red 20. März 2020 um 10:31 
Ursprünglich geschrieben von Big Daddy Vladdy:
["AmmoboxInit",[this,true]] call BIS_fnc_arsenal;

should work
saving for later
monkiy 30. Apr. 2020 um 8:50 
Thanks a lot =)
3den enhanced is a mod that can help simplify stuff like this a lot.
< >
Beiträge 111 von 11
Pro Seite: 1530 50

Geschrieben am: 28. Juli 2016 um 12:47
Beiträge: 11