Skip to content

Commit

Permalink
setVehicleAmmo - add setting for ace_rearm
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Jan 13, 2025
1 parent 63e4326 commit c32c3d8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions addons/setVehicleAmmo/CfgEden.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ class Cfg3DEN {
condition = "objectVehicle";
defaultValue = "(false)";
};
class GVAR(rearmCustom) {
displayName = "Set as Rearm-Scripted Loadouts";
tooltip = "ACE-Rearm will try to rearm the custom loadout instead of the config default";
property = QGVAR(rearmCustom);
control = "Checkbox";
expression = QUOTE(if (_value) then { _this setVariable [ARR_3('ace_rearm_scriptedLoadout',true,true)] });
typeName = "BOOL";
condition = "objectVehicle";
defaultValue = "(false)";
};
class ADDON {
displayName = "Set Vehicle Ammo";
tooltip = "";
Expand Down

0 comments on commit c32c3d8

Please sign in to comment.