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

Fix airpoints not being added #323

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

["vehiclesPlanesLargeCAS", []] call _fnc_saveToTemplate;
["vehiclesPlanesLargeAA", []] call _fnc_saveToTemplate;
["vehiclesPlanesGunship", []] call _fnc_saveToTemplate;

["flares", ["F_40mm_white", "F_40mm_Red", "F_40mm_Yellow", "F_40mm_Green"]] call _fnc_saveToTemplate;

Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/core/functions/REINF/fn_addBombRun.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (_exit) exitWith {

private _pointsX = 1;

if (_typeX in FactionGet(all,"vehiclesHelisAttack")) then {_pointsX = 5};
if (_typeX in (FactionGet(all,"vehiclesHelisAttack") + FactionGet(all,"vehiclesHelisLightAttack"))) then {_pointsX = 5};
if (_typeX in (OccAndInv("vehiclesPlanesCAS") + OccAndInv("vehiclesPlanesAA") + OccAndInv("vehiclesPlanesLargeAA") + OccAndInv("vehiclesPlanesLargeCAS") + OccAndInv("vehiclesPlanesGunship"))) then {_pointsX = 10};

deleteVehicle _veh;
Expand Down