Results 1 to 5 of 5

Thread: Airstrike issue

  1. #1

    Airstrike issue

    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 <= 0then {
    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!"

  2. #2
    If it's on CLafghan it's probably crashing into a mountain before getting to you. Throw in an player attachTo plane thing for debugging and see how the flight to your target is.

  3. #3
    Well no, the plan doesn't crash because I can see it on the map making circles far away, its like he goes to the wrong coordinates...

  4. #4
    Is this formatted properly (the first line in decrement the mortar)?

    BIS_SSM_Airstrike_EXPRESSION = {

    I don't see the rest of it anywhere, not sure if that's contributing to the problem.

  5. #5
    I tried to use the SecOps support airstrike and it works But how can I change the plane used for the support ?

Similar Threads

  1. Airstrike
    By jaoboifurroi132 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 4
    Last Post: Dec 16 2011, 13:44
  2. Airstrike
    By Polypythates in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: May 2 2011, 21:48
  3. Airstrike?
    By marexx in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 6
    Last Post: Jun 7 2009, 19:13
  4. Airstrike
    By Binary in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 1
    Last Post: Dec 22 2007, 00:08
  5. Airstrike
    By sgtdwetzel in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 3
    Last Post: Nov 20 2001, 20:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •