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

Disable forced marker spawn in artySupport #3151

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: 4 additions & 2 deletions A3A/addons/core/functions/AI/fn_artySupport.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ else
_roundsMax = _rounds;
};

_markerX = [markersX,_positionTel] call BIS_fnc_nearestPosition;
/*_markerX = [markersX,_positionTel] call BIS_fnc_nearestPosition;
_size = [_markerX] call A3A_fnc_sizeMarker;
_forcedX = false;
Expand All @@ -194,6 +194,7 @@ if ((not(_markerX in forcedSpawn)) and (_positionTel distance (getMarkerPos _mar
forcedSpawn pushBack _markerX;
publicVariable "forcedSpawn";
};
*/

_roundPlural = if (round _rounds == 1) then {localize "STR_A3A_fn_ai_artySupport_singleRound"} else {localize "STR_A3A_fn_ai_artySupport_multiRound"};
_textX = format [localize "STR_A3A_fn_ai_artySupport_fireMission", mapGridPosition _positionTel, round _rounds, _roundPlural];
Expand Down Expand Up @@ -290,7 +291,7 @@ sleep 10;
deleteMarkerLocal _mrkFinal;
if (_typeArty == "BARRAGE") then {deleteMarkerLocal _mrkFinal2};

if (_forcedX) then
/*if (_forcedX) then
{
sleep 20;
if (_markerX in forcedSpawn) then
Expand All @@ -299,3 +300,4 @@ if (_forcedX) then
publicVariable "forcedSpawn";
};
};
*/