diff --git a/SCCA_Coop_A02/SCCA_Coop_A02_script.lua b/SCCA_Coop_A02/SCCA_Coop_A02_script.lua index 41bae8e..e616d1f 100644 --- a/SCCA_Coop_A02/SCCA_Coop_A02_script.lua +++ b/SCCA_Coop_A02/SCCA_Coop_A02_script.lua @@ -676,6 +676,10 @@ function M2AssignSecretBaseObjective() end end ) + --Sometimes this objective can trigger before the objective group is created since this is linked to when one of the naval base units is detected + while not(ScenarioInfo.M2ObjectiveGroup) do + WaitSeconds(1) + end ScenarioInfo.M2ObjectiveGroup:AddObjective(ScenarioInfo.M2P3Objective) ScenarioFramework.CreateTimerTrigger(M2CruiserWarning, 60) -- the cruiser will launch soon -- kill it