Hi, I'm having an issue with the SSM module and the airstrike. I've a script which is supposed to make the airstrike available for 2 strikes and that works but the problem is that the plane doesn't always come to the designated position, sometimes he stays far away on the map.
My mission is on the map CLA CLafghan so maybe it's because of that ?!
Here is the script:
PHP Code:waitUntil {(currentWeapon player)== "Laserdesignator"};
sleep 2;
BIS_SSM_Airstrike_AVAILABLE_WEST = true;
AirstrikesAvailable = 2;
publicVariable "AirstrikesAvailable";
//CONDITIONs are used to check if a support can be called.
BIS_SSM_Airstrike_CONDITION = "AirstrikesAvailable > 0";
//we need to decrement the mortar counter each time it is fired
BIS_SSM_Airstrike_EXPRESSION = {
AirstrikesAvailable = AirstrikesAvailable - 1;
BIS_SSM_Airstrike_AVAILABLE_WEST = FALSE;
[] call BIS_SSM_fnc_updateMenu;
sleep 60;
//we need to add yet another check to hide the icon
if (AirstrikesAvailable <= 0) then {
BIS_SSM_Airstrike_ENABLED_WEST = FALSE;
BIS_SSM_Airstrike_AVAILABLE_WEST = FALSE;
call BIS_SSM_fnc_updateMenu;
} else {BIS_SSM_Airstrike_AVAILABLE_WEST = TRUE;
[] call BIS_SSM_fnc_updateMenu;};
};
[] call BIS_SSM_fnc_updateMenu;
hint "Airstrike available!";
HOME
Reply With Quote




But how can I change the plane used for the support ?
