

Thread Tools  Display Modes 
04042020, 05:11 PM  #401  
Junior Member
Join Date: Apr 2018
Posts: 35

Quote:
I added this feature before Surrexen added his update in v129 that keeps aircraft from spawning on top of you within 40nm of an airbase. I think Surrexen's solution is far more elegant and more importantly to me, realistic. Given that, I think it'd be possible to set a trigger that if a bomb is dropped on a runway then you could set airbase resources to zero. You could also add a timer that would reset them to nil too. I don't know off the top of my head how to make that persistent though. Use trigger type "Do Script" and simply have it run the following commands to set resources to zero: Code:
REDA2ADispatcher:SetSquadron( "Alpha", AIRBASE.PersianGulf.Bandar_Lengeh, { "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, 0 ) REDA2ADispatcher:SetSquadron( "Beta", AIRBASE.PersianGulf.Lar_Airbase, { "SQ RUS MiG21Bis", "SQ RUS MiG29A", "SQ RUS MiG29S", "SQ RUS MiG23MLD", "SQ RUS MiG25PD", "SQ RUS MiG31", "SQ RUS Su27", "SQ RUS Su30", "SQ RUS Su33" }, 0 ) REDA2ADispatcher:SetSquadron( "Gamma", AIRBASE.PersianGulf.Havadarya, { "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, 0 ) REDA2ADispatcher:SetSquadron( "Delta", AIRBASE.PersianGulf.Bandar_Abbas_Intl, { "SQ RUS MiG21Bis", "SQ RUS MiG29A", "SQ RUS MiG29S", "SQ RUS MiG23MLD", "SQ RUS MiG25PD", "SQ RUS MiG31", "SQ RUS Su27", "SQ RUS Su30", "SQ RUS Su33" }, 0 ) REDA2ADispatcher:SetSquadron( "Epsilon", AIRBASE.PersianGulf.Bandar_e_Jask_airfield, { "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, 0 ) REDA2ADispatcher:SetSquadron( "Tau", AIRBASE.PersianGulf.Lar_Airbase, { "SQ RUS MiG21Bis", "SQ RUS MiG29A", "SQ RUS MiG29S", "SQ RUS MiG23MLD", "SQ RUS MiG25PD", "SQ RUS MiG31", "SQ RUS Su27", "SQ RUS Su30", "SQ RUS Su33", "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, 0 ) Code:
REDA2ADispatcher:SetSquadron( "Alpha", AIRBASE.PersianGulf.Bandar_Lengeh, { "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, nil ) REDA2ADispatcher:SetSquadron( "Beta", AIRBASE.PersianGulf.Lar_Airbase, { "SQ RUS MiG21Bis", "SQ RUS MiG29A", "SQ RUS MiG29S", "SQ RUS MiG23MLD", "SQ RUS MiG25PD", "SQ RUS MiG31", "SQ RUS Su27", "SQ RUS Su30", "SQ RUS Su33" }, nil ) REDA2ADispatcher:SetSquadron( "Gamma", AIRBASE.PersianGulf.Havadarya, { "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, nil ) REDA2ADispatcher:SetSquadron( "Delta", AIRBASE.PersianGulf.Bandar_Abbas_Intl, { "SQ RUS MiG21Bis", "SQ RUS MiG29A", "SQ RUS MiG29S", "SQ RUS MiG23MLD", "SQ RUS MiG25PD", "SQ RUS MiG31", "SQ RUS Su27", "SQ RUS Su30", "SQ RUS Su33" }, nil ) REDA2ADispatcher:SetSquadron( "Epsilon", AIRBASE.PersianGulf.Bandar_e_Jask_airfield, { "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, nil ) REDA2ADispatcher:SetSquadron( "Tau", AIRBASE.PersianGulf.Lar_Airbase, { "SQ RUS MiG21Bis", "SQ RUS MiG29A", "SQ RUS MiG29S", "SQ RUS MiG23MLD", "SQ RUS MiG25PD", "SQ RUS MiG31", "SQ RUS Su27", "SQ RUS Su30", "SQ RUS Su33", "SQ IRN F4E", "SQ IRN F5E3", "SQ IRN MiG21Bis", "SQ IRN MiG29A" }, nil ) 

Thread Tools  
Display Modes  

