ACE & Vanilla Arsenal

ACE

Begin by placing an object, such as a B_CargoNet_01_ammo_F, but feel free to use any object you prefer. Now double-click on the object and enter the following code into the init field:

[this, true] call ace_arsenal_fnc_initBox;

Vanilla

Expression:

Condition:

player in thisList

On Activation:

thisTrigger setVariable ["_playerAction", player addAction ["Arsenal", {["Open", [true]] call BIS_fnc_arsenal;}]];

On Deactivation:

player removeAction (thisTrigger getVariable ["_playerAction", -1])

Last updated