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;
This one is unique with its special design. Begin by placing an object. Double-click on it to access the init field. Insert the following code:
player removeAction (thisTrigger getVariable ["_playerAction", -1])
Now you've set up a trigger area. When a player enters this area, they will be presented with an action called ACE Arsenal.
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])
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 addAction ["Arsenal", {["Open", [true]] call BIS_fnc_arsenal;