diff --git a/A3A/addons/ultimate/functions/REINF/fn_invaderComeback.sqf b/A3A/addons/ultimate/functions/REINF/fn_invaderComeback.sqf index 7d2a8d1966..9fb45b6ea8 100644 --- a/A3A/addons/ultimate/functions/REINF/fn_invaderComeback.sqf +++ b/A3A/addons/ultimate/functions/REINF/fn_invaderComeback.sqf @@ -1 +1,17 @@ -["emergence"] call A3U_fnc_setInvaderState; \ No newline at end of file +["emergence"] call A3U_fnc_setInvaderState; + +private _attackCount = 0; +private _attackAmount = 2; + +for "_i" from 0 to _attackAmount do { + [Invaders] spawn A3A_fnc_chooseAttack; + _attackCount = _attackCount + 1; + + // Wait 5 minutes before choosing another attack + uiSleep 300; +}; + +// waitUntil {sleep 30; _attackCount >= _attackAmount}; + +// private _possibleTargets = airportsX + outposts + seaports + factories + resourcesX + milbases; +// _possibleTargets = _possibleTargets select {sidesX getVariable [_x,sideUnknown] == teamPlayer}; \ No newline at end of file diff --git a/A3A/addons/ultimate/functions/REINF/fn_simpleAttack.sqf b/A3A/addons/ultimate/functions/REINF/fn_simpleAttack.sqf index 538d7ac5ee..aab7659a7e 100644 --- a/A3A/addons/ultimate/functions/REINF/fn_simpleAttack.sqf +++ b/A3A/addons/ultimate/functions/REINF/fn_simpleAttack.sqf @@ -1,11 +1,11 @@ params [ - ["_side", Invaders], - ["_origin", "CSAT_carrier"], ["_target", ""], - ["_pool", "attack"], ["_vehCount", 5], - ["_delay", 5], + ["_origin", "CSAT_carrier"], ["_modifiers", ["specops"]] + ["_delay", 30], + ["_side", Invaders], + ["_pool", "attack"], ]; private _data = [