Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Define Text Fix #617

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions addons/arsenalExport/functions/fnc_export.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ _lines pushBack format ['#define SAM_MAG %1', [GVAR(loadout_sam), GVAR(loadout_s
_lines pushBack format ["// Sniper"];
_lines pushBack format ['#define SNIPER "%1"', GVAR(loadout_sniper)];
_lines pushBack format ['#define SNIPER_MAG %1', [GVAR(loadout_sniper), GVAR(loadout_sniperMags), SNIPER_ROUNDS] call _fnc_getMags];
_lines pushBack format ['#define SNIPER_OPTIC %1', [GVAR(loadout_sniperAttachments)] call _fnc_formatList];
_lines pushBack format ['#define SNIPER_ATTACHMENTS %1', [GVAR(loadout_sniperAttachments)] call _fnc_formatList];

_lines pushBack format ["// Spotter"];
_lines pushBack format ['#define SPOTTER "%1"', GVAR(loadout_spotter)];
_lines pushBack format ['#define SPOTTER_MAG %1', [GVAR(loadout_spotter), GVAR(loadout_spotterMags), RIFLE_ROUNDS] call _fnc_getMags];
_lines pushBack format ['#define SPOTTER_OPTIC %1', [GVAR(loadout_spotterAttachments)] call _fnc_formatList];
_lines pushBack format ['#define SPOTTER_ATTACHMENTS %1', [GVAR(loadout_spotterAttachments)] call _fnc_formatList];

_lines pushBack format ["// SMG"];
_lines pushBack format ['#define SMG "%1"', GVAR(loadout_smg)];
Expand All @@ -161,7 +161,7 @@ _lines pushBack format ['#define SMG_MAG %1', [GVAR(loadout_smg), GVAR(loadout_s
_lines pushBack format ["// Pistol"];
_lines pushBack format ['#define PISTOL "%1"', GVAR(loadout_pistol)];
_lines pushBack format ['#define PISTOL_MAG %1', [GVAR(loadout_pistol), GVAR(loadout_pistolMags), PISTOL_ROUNDS] call _fnc_getMags];
_lines pushBack format ['#define PISTOL_OPTIC %1', [GVAR(loadout_pistolAttachments)] call _fnc_formatList];
_lines pushBack format ['#define PISTOL_ATTACHMENTS %1', [GVAR(loadout_pistolAttachments)] call _fnc_formatList];

_lines pushBack format ["// Grenades"];
_lines pushBack format ["#define LEADER_GRENADES BASE_FRAG,LEADER_SMOKES,SIDE_CHEM_LIGHT"];
Expand Down