Arma 3
131 Bewertungen
How to add Virtual Arsenal to a mission
Von Dick Caught In Fan
This guide shows you how to add the Virtual Arsenal to a mission so players can chose their loadouts in game. Supports Static Boxes and Supply Drop Modules.
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Adding it to a Supply Drop (Supply Drop Module)
3. Create the Supply Drop Module in the editor.

4. In the Supply Drop Module's Crate Init Box add the line { _this addAction ["Open Virtual Arsenal", {["Open",true] spawn BIS_fnc_arsenal}];} minus the { }.

5. Create a Support Requester Module, and an aircraft that you want to drop the box.

6. Syncronize the aircraft to the supply drop module.

7. Syncronize the Supply Drop Module to the supply Support Requester.

8. Syncronize the Players who you want to be able to call in the drop to the supply Support Requester.

9. Preview the mission and call in the supply drop.

10. Walk up to the box and pick a loadout or make a new one.
Opening Virtual Arsenal without scripts
This section applies to a static box. ( Connex Box, Ammo Box, Vehicle )

1. Create the object that you want to contain the VA in the editor .

2. In the objects initialization box add the line { this addAction ["Open Virtual Arsenal", {["Open",true] spawn BIS_fnc_arsenal}]; } minus the { }.

3. preview the mission walk up to it and select "Open Virtual Arsenal".
Starting Virtual Arsenal at the beginning of the mission
69 Kommentare
Gonna cry? 16. Dez. 2023 um 18:08 
Руски ясык плез
ZeroOnii-Chan 9. Sep. 2021 um 5:07 
so anyway this command can drop a ACE arsenal ? cause i cant make it work
Kaiser_Of_Aldi 16. Feb. 2021 um 14:20 
How do I reduce the range at which I an acess the VA? I can get to it from very far away, and would like to not be able to do that
Wulfe 20. Jan. 2018 um 9:30 
@☾CS☽ FlamingNova you have to double click the object and then you'll see the "Object: Init" tab
Flame 17. Aug. 2017 um 18:31 
how do you even get to the initialization part, it doesnt show up for me
Panda 14. Juni 2017 um 3:34 
I was able to fix it. I removed the VA.sqf file, and added 0 = ["AmmoboxInit",[_this,true]] spawn BIS_fnc_arsenal; in the "crate init:" box.
Panda 14. Juni 2017 um 3:15 
I'm trying to add the supply drop to a multiplayer mission. No vehicle respawn, just supply drop with virtual arsenal. With the code you gave me now, the crate disconnects from the parachute and drops to the ground.

It stops working when I export the mission, is that when it starts reading the VA file?
Dick Caught In Fan  [Autor] 13. Juni 2017 um 15:15 
for multiplayer put this in the initialization of the object, i havent tested this with vehicles on a respawn script tho. (_this select 0) addAction [""Open Virtual Arsenal"", {[""Open"",true] spawn BIS_fnc_arsenal}];
Panda 13. Juni 2017 um 12:08 
Hi, I was able to get this working in preview of the mission. But after exporting it to Multiplayer and starting a server, the virtual arsenal doesn't show when interacting with the box. Any solution to this?
Hudnar 6. Apr. 2017 um 16:25 
Where do I create the file? In game or in my Computer Files?