SetHomePoint 2111.523438 384.555145 -1822.878540 /* ------------------- Vehicles ------------------- */ Vehicle 0 Add vehicles/aaa.ini -901.342834 124.204224 -1235.942383 0.000000 0 Vehicle 0 SetPlaneScout 1 -1 0 Vehicle 0 SetActive 1 Vehicle 1 Add vehicles/aaa.ini -891.588257 122.054153 -1106.715210 0.000000 0 Vehicle 1 SetPlaneScout 1 -1 0 Vehicle 1 SetActive 1 Vehicle 2 Add vehicles/pt76/pt76.ini -987.692749 117.622986 -1256.536621 0.000000 0 Vehicle 3 Add vehicles/pt76/pt76.ini -885.193481 125.410950 -1218.380127 3.713231 0 Vehicle 4 Add vehicles/pt76/pt76.ini -785.476501 126.403076 -1018.481689 0.935038 0 Vehicle 5 Add vehicles/aaa.ini 173.588257 122.054153 -1540.715210 0.000000 0 Vehicle 5 SetPlaneScout 1 -1 0 Vehicle 5 SetActive 1 /* ------------------- Characters ------------------- */ Character 0 Add characters/vietcong_soldier01_ak47.ini -930.816284 122.379150 -1183.509277 0.000000 Character 0 AddPoint -902.646301 124.501282 -1202.100708 ATTACK RUN 0.000000 Character 1 Add characters/vietcong_soldier01_ak47.ini -901.418274 121.877258 -1109.910034 0.000000 Character 1 AddPoint -913.584351 122.606689 -1134.132080 ATTACK RUN 0.000000 Character 2 Add characters/vietcong_soldier01_ak47.ini -978.037231 122.456177 -1157.225830 0.000000 Character 2 AddPoint -964.935669 122.845581 -1160.385254 ATTACK RUN 0.000000 Character 3 Add characters/vietcong_soldier04_rpg7.ini -930.776367 121.836792 -1242.904175 0.000000 Character 3 AddPoint -918.994019 123.441467 -1239.980469 ATTACK RUN 0.000000 Character 4 Add characters/vietcong_soldier01_ak47.ini -895.401672 124.547180 -1259.956909 0.000000 Character 4 AddPoint -885.811707 125.957581 -1240.577881 ATTACK RUN 0.000000 Character 5 Add characters/vietcong_soldier01_ak47.ini -849.933411 128.736633 -1252.914063 0.000000 Character 5 AddPoint -859.900513 128.274475 -1260.690918 ATTACK RUN 0.000000 Character 6 Add characters/vietcong_soldier01_ak47.ini -853.522400 123.300171 -1068.662842 0.000000 Character 6 AddPoint -875.434143 123.563660 -1060.628418 ATTACK RUN 0.000000 Character 7 Add characters/vietcong_soldier04_rpg7.ini -899.362732 123.301025 -1167.921021 0.000000 Character 7 AddPoint -883.067261 125.355408 -1190.261108 ATTACK RUN 0.000000 Character 8 Add characters/vietcong_soldier01_ak47.ini -418.456482 149.781128 -855.866455 0.000000 Character 8 AddPoint -472.768097 151.490295 -841.325989 ATTACK RUN 0.000000 Character 9 Add characters/vietcong_soldier01_ak47.ini -552.930969 136.920410 -927.128052 0.000000 Character 9 AddPoint -575.903381 136.208130 -957.272522 ATTACK RUN 0.000000 Character 10 Add characters/vietcong_soldier01_ak47.ini -529.920654 142.042603 -1014.464966 0.000000 Character 10 AddPoint -545.575806 143.298096 -1044.462402 ATTACK RUN 0.000000 Character 11 Add characters/vietcong_soldier04_rpg7.ini -511.942383 145.611145 -854.869385 0.000000 Character 11 AddPoint -562.491394 143.546082 -842.553833 ATTACK RUN 0.000000 Character 12 Add characters/vietcong_soldier01_ak47.ini -840.970581 130.224121 -1293.941162 0.000000 Character 12 AddPoint -896.113220 125.109619 -1308.029541 ATTACK RUN 0.000000 Character 13 Add characters/vietcong_soldier01_ak47.ini -952.237061 122.180420 -1175.988403 0.935038 Character 13 AddPoint -928.557007 122.994812 -1164.838379 ATTACK RUN 0.000000 Character 14 Add characters/vietcong_soldier01_ak47.ini -906.851746 121.500610 -1080.154053 0.935038 Character 14 AddPoint -873.192139 122.934448 -1080.505859 ATTACK RUN 0.000000 Character 15 Add characters/vietcong_soldier01_ak47.ini -1045.574829 127.179443 -1078.232178 0.935038 Character 15 AddPoint -998.124634 125.907837 -1036.648926 ATTACK RUN 0.000000 Characters.EnableAttackPlanes 0 16 -1 0 CharactersActivate 0 16 /* ------------------- Enemy planes ------------------- */ Plane 6 Load planes/mig19/1.ini -1893.0 400.0 2262.0 0.0 0 Plane 6 SetDogfightExperience 3 Plane 6 SetDogfightMode Plane 6 SetScoutPlane 1 -1 6 Plane 6 SetActive 0 Plane 7 Load planes/mig19/1.ini -1993.0 400.0 2262.0 0.0 0 Plane 7 SetDogfightExperience 3 Plane 7 SetDogfightMode Plane 7 SetScoutPlane 1 -1 6 Plane 7 SetActive 0 Plane 8 Load planes/mig19/1.ini -2093.0 400.0 2262.0 0.0 0 Plane 8 SetDogfightExperience 3 Plane 8 SetDogfightMode Plane 8 SetScoutPlane 1 -1 6 Plane 8 SetActive 0 /* ------------------- Squadron 1 ------------------- */ Plane 0 Load planes/uh_1/1.ini 1780.0 500.0 -1550.0 0.0 1 Plane 0 SetActive 0 Plane 1 Load planes/uh_1/1.ini 1880.0 500.0 -1550.0 0.0 1 Plane 1 SetActive 0 Plane 2 Load planes/uh_1/1.ini 1980.0 500.0 -1550.0 0.0 1 Plane 2 SetActive 0 /* ------------------- Squadron 2 ------------------- */ Plane 3 Load planes/F4_Phantom/2.ini 2638.0 400.0 -2693.0 0.0 1 Plane 3 SetDogfightExperience 3 Plane 3 SetDogfightMode Plane 3 SetActive 0 Plane 4 Load planes/F4_Phantom/2.ini 2838.0 400.0 -2693.0 0.0 1 Plane 4 SetDogfightExperience 3 Plane 4 SetDogfightMode Plane 4 SetActive 0 Plane 5 Load planes/F4_Phantom/2.ini 3058.0 400.0 -2693.0 0.0 1 Plane 5 SetDogfightExperience 3 Plane 5 SetDogfightMode Plane 5 SetActive 0 Player.ReloadSpecial planes/uh_1/1.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 0 Player.AddToWave 1 Player.AddToWave 2 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Var DefineFloat Timer Var DefineFloat MissionState Var DefineBool skipped1 Var DefineBool skipped2 Var DefineBool skipped3 Var DefineBool sensorDeployed1 Var DefineBool sensorDeployed2 Var DefineBool sensorDeployed3 Var DefineBool sensorDeployed4 Var DefineBool sensorDeployed5 DebriefingIndex 31007 /* ---------------------------------------------------------------------------------- Chars Cutscene 1 ------------------- */ Plane 9 Load planes/uh_1/1.ini 1862.425293 277.373505 -1621.049683 -1.512973 0 Plane 9 AddScoutPoint 1862.425293 277.373505 -1621.049683 Plane 9 AddScoutPoint 1684.860962 299.038544 -1547.379395 Plane 9 AddScoutPoint 1556.211670 297.023041 -1568.526001 Plane 9 AddScoutPoint 1212.269775 292.998718 -1631.013916 Plane 9 AddScoutPoint 583.394775 274.065796 -1699.357544 Plane 9 AddScoutPoint 15.141235 209.763916 -1646.707397 Plane 9 SetPointScoutMode 1 Plane 9 StopMovmentY 1 Plane 9 SetActive 0 Plane 19 Load planes/uh_1/1.ini 1862.425293 377.373505 -1621.049683 -1.512973 0 Plane 19 AddScoutPoint 1862.425293 367.373505 -1621.049683 Plane 19 AddScoutPoint 1684.860962 459.038544 -1547.379395 Plane 19 AddScoutPoint 1556.211670 457.023041 -1568.526001 Plane 19 AddScoutPoint 1212.269775 432.998718 -1631.013916 Plane 19 AddScoutPoint 583.394775 454.065796 -1699.357544 Plane 19 AddScoutPoint 15.141235 409.763916 -1646.707397 Plane 19 SetPointScoutMode 1 Plane 19 StopMovmentY 1 Plane 19 SetActive 0 /* ---------------------------------------------------------------------------------- Chars Cutscene 2 ------------------- */ Plane 10 Load planes/mi8/1.ini -768.823303 329.420593 295.198547 -2.075150 0 Plane 10 AddScoutPoint -768.823303 329.420593 295.198547 Plane 10 AddScoutPoint -924.396484 318.038391 190.529968 Plane 10 AddScoutPoint -980.388550 293.487976 33.342148 Plane 10 AddScoutPoint -959.367004 269.166260 -179.627441 Plane 10 AddScoutPoint -875.676270 221.856949 -401.256622 Plane 10 SetPointScoutMode 1 Plane 10 StopMovmentY 1 Plane 10 SetActive 0 Plane 11 Load planes/mi8/1.ini -624.399475 357.818542 286.897827 -2.075150 0 Plane 11 AddScoutPoint -624.399475 357.818542 286.897827 Plane 11 AddScoutPoint -793.839172 347.149902 126.302505 Plane 11 AddScoutPoint -870.375916 318.900513 40.591965 Plane 11 AddScoutPoint -875.291626 318.505066 -72.867691 Plane 11 AddScoutPoint -830.974548 262.898071 -237.377441 Plane 11 AddScoutPoint -670.205505 260.812805 -582.216248 Plane 11 SetPointScoutMode 1 Plane 11 StopMovmentY 1 Plane 11 SetActive 0 Plane 23 Load planes/mi8/1.ini -768.823303 329.420593 295.198547 -2.075150 0 Plane 23 AddScoutPoint -768.823303 329.420593 295.198547 Plane 23 AddScoutPoint -924.396484 318.038391 190.529968 Plane 23 AddScoutPoint -980.388550 293.487976 33.342148 Plane 23 AddScoutPoint -959.367004 269.166260 -179.627441 Plane 23 AddScoutPoint -875.676270 221.856949 -401.256622 Plane 23 SetPointScoutMode 1 Plane 23 StopMovmentY 1 Plane 23 SetActive 0 Plane 24 Load planes/mi8/1.ini -624.399475 357.818542 286.897827 -2.075150 0 Plane 24 AddScoutPoint -624.399475 357.818542 286.897827 Plane 24 AddScoutPoint -793.839172 347.149902 126.302505 Plane 24 AddScoutPoint -870.375916 318.900513 40.591965 Plane 24 AddScoutPoint -875.291626 318.505066 -72.867691 Plane 24 AddScoutPoint -830.974548 262.898071 -237.377441 Plane 24 AddScoutPoint -670.205505 260.812805 -582.216248 Plane 24 SetPointScoutMode 1 Plane 24 StopMovmentY 1 Plane 24 SetActive 0 /* ---------------------------------------------------------------------------------- Chars Cutscene 3 ------------------- */ Plane 12 Load planes/F4_Phantom/1.ini 2699.368164 1306.526337 -1196.372437 -1.401791 0 Plane 12 AddScoutPoint 2699.368164 306.526337 -1196.372437 Plane 12 AddScoutPoint 178.431641 244.234772 -510.382080 Plane 12 SetActive 0 Plane 13 Load planes/F4_Phantom/1.ini 2693.774902 1296.378693 -1129.474121 -1.401791 0 Plane 13 AddScoutPoint 2693.774902 296.378693 -1129.474121 Plane 13 AddScoutPoint 234.257080 255.908722 -379.506592 Plane 13 SetActive 0 Plane 14 Load planes/F4_Phantom/1.ini 2752.513184 1296.910980 -1063.696899 -1.401791 0 Plane 14 AddScoutPoint 2752.513184 296.910980 -1063.696899 Plane 14 AddScoutPoint 414.021240 308.888641 -255.722839 Plane 14 SetActive 0 /* ---------------------------------------------------------------------------------- Chars Cutscene 4 ------------------- */ Plane 15 Load planes/mig19/1.ini -428.695953 516.780518 508.614960 -4.864094 0 Plane 15 AddScoutPoint -428.695953 516.780518 508.614960 Plane 15 AddScoutPoint 1729.825562 583.694153 767.926941 Plane 15 SetActive 0 Plane 16 Load planes/mig19/1.ini -473.222412 511.478271 586.720337 -4.864094 0 Plane 16 AddScoutPoint -473.222412 511.478271 586.720337 Plane 16 AddScoutPoint 1950.611816 577.706787 935.067810 Plane 16 SetActive 0 Plane 17 Load planes/mig19/1.ini -487.165039 506.810303 456.012177 -4.864094 0 Plane 17 AddScoutPoint -487.165039 506.810303 456.012177 Plane 17 AddScoutPoint 1359.263916 564.290100 618.477417 Plane 17 SetActive 0 Plane 18 Load planes/F4_Phantom/1.ini 1804.367188 488.021790 1634.835815 -3.010519 0 Plane 18 AddScoutPoint 1804.367188 488.021790 1634.835815 Plane 18 AddScoutPoint 1685.694580 453.045166 549.028992 Plane 18 SetActive 0 Plane 20 Load planes/mig19/1.ini -428.695953 716.780518 508.614960 -4.864094 0 Plane 20 AddScoutPoint -428.695953 716.780518 508.614960 Plane 20 AddScoutPoint 1729.825562 783.694153 767.926941 Plane 20 SetActive 0 Plane 21 Load planes/mig19/1.ini -473.222412 711.478271 586.720337 -4.864094 0 Plane 21 AddScoutPoint -473.222412 711.478271 586.720337 Plane 21 AddScoutPoint 1950.611816 777.706787 935.067810 Plane 21 SetActive 0 Plane 22 Load planes/mig19/1.ini -487.165039 706.810303 456.012177 -4.864094 0 Plane 22 AddScoutPoint -487.165039 706.810303 456.012177 Plane 22 AddScoutPoint 1359.263916 764.290100 618.477417 Plane 22 SetActive 0 /* ------------------------------------------------------------------------------ BEGIN - OPERATION IGLOO WHITE --------------------------------------------------------------------------------- */ BeginScript /* ------------------- Cutscene 1 ------------------- */ if Time == 2 endif { SetWeather 1 Plane 9 SetActive 1 CutSceneRecordingPosition 5 game/campaign/us/mission25/m25c1_1.cam 0 } if Time == 7 endif { Plane 19 SetActive 1 } if Time == 12 endif { CutSceneRecordingPlane 5 game/campaign/us/mission25/m25c1_2.cam 19 0 Message.CutScene 180 992511 0 5 } if Time == 17 endif { Plane 9 SetActive 0 Plane 19 SetActive 0 } /* ------------------- Cutscene 2 ------------------- */ if Time == 19 endif { Plane 10 SetActive 1 Plane 11 SetActive 1 } if Time == 22 endif { CutSceneRecordingPosition 7 game/campaign/us/mission25/m25c2_1.cam 0 } if Time == 23 endif { Message.CutScene 180 992521 0 5 } if Time == 26 endif { Plane 23 SetActive 1 Plane 24 SetActive 1 } if Time == 29 endif { Plane 10 SetActive 0 Plane 11 SetActive 0 CutSceneRecordingPlane 4 game/campaign/us/mission25/m25c3_2.cam 23 0 } if Time == 33 endif { Plane 23 SetActive 0 Plane 24 SetActive 0 } /* ------------------- Cutscene 3 ------------------- */ if Time == 35 endif { SetWeather 2 Plane 12 SetActive 1 Plane 12 SetAiEnabled 0 Plane 13 SetActive 1 Plane 13 SetAiEnabled 0 Plane 14 SetActive 1 Plane 14 SetAiEnabled 0 CutSceneRecordingPlane 6 game/campaign/us/mission25/m25c3_1.cam 13 0 } if Time == 36 endif { Message.CutScene 180 992531 0 5 } if Time == 41 endif { Plane 12 SetActive 0 Plane 13 SetActive 0 Plane 14 SetActive 0 } /* ------------------- Cutscene 4 ------------------- */ if Time == 43 endif { Plane 15 SetActive 1 Plane 15 SetAiEnabled 0 Plane 15 SetActVariation 0 0 Plane 15 SetActVariation 1 1 Plane 15 RenderWeapon 1 Plane 16 SetActive 1 Plane 16 SetAiEnabled 0 Plane 16 SetActVariation 0 0 Plane 16 SetActVariation 1 1 Plane 16 RenderWeapon 1 Plane 17 SetActive 1 Plane 17 SetAiEnabled 0 Plane 17 SetActVariation 0 0 Plane 17 SetActVariation 1 1 Plane 17 RenderWeapon 1 CutSceneRecordingPosition 4 game/campaign/us/mission25/m25c4_1.cam 0 } if Time == 47 endif { Plane 15 SetActive 0 Plane 16 SetActive 0 Plane 17 SetActive 0 Plane 20 SetActive 1 Plane 20 SetAiEnabled 0 Plane 20 SetActVariation 0 0 Plane 20 SetActVariation 1 1 Plane 20 RenderWeapon 1 Plane 21 SetActive 1 Plane 21 SetAiEnabled 0 Plane 21 SetActVariation 0 0 Plane 21 SetActVariation 1 1 Plane 21 RenderWeapon 1 Plane 22 SetActive 1 Plane 22 SetAiEnabled 0 Plane 22 SetActVariation 0 0 Plane 22 SetActVariation 1 1 Plane 22 RenderWeapon 1 } if Time == 50 endif { Plane 18 SetActive 1 Plane 18 SetAiEnabled 0 Plane 18 SetActVariation 0 0 Plane 18 SetActVariation 1 2 Plane 18 RenderWeapon 1 CutSceneRecordingPlane 4 game/campaign/us/mission25/m25c4_2.cam 18 0 } if Time == 48 endif { Message.CutScene 180 992541 0 5 } if Time == 54 endif { CutSceneRecordingPlane 4 game/campaign/us/mission25/m25c4_3.cam 21 0 } if Time == 58 endif { Plane 18 SetActive 0 Plane 20 SetActive 0 Plane 21 SetActive 0 Plane 22 SetActive 0 } /* -------------------------------------------------------------------------- */ if Time == 101 endif { Plane 1 SetActive 1 Plane 2 SetActive 1 } if Time == 102 endif { MusicPlayActionSlow Var skipped1 = FALSE ; Var skipped2 = FALSE ; Var skipped3 = FALSE ; Var Timer = 0 ; Var sensorDeployed1 = FALSE ; Var sensorDeployed2 = FALSE ; Var sensorDeployed3 = FALSE ; Var sensorDeployed4 = FALSE ; Var sensorDeployed5 = FALSE ; } /* ------------------- Objective 1 - Deploy sensors. ------------------- */ if Time == 103 endif { Var MissionState = 1 ; Message.DialogTime 180 31001 0 6 Objective.Add Objective1 31000 0 ShowZone -1290.0 0.0 -1417.0 1.0 ShowZone -1041.0 0.0 -548.0 1.0 ShowZone -48.0 0.0 -643.0 1.0 SetBombingAreaScaleY 1.5 ShowBombingArea -1290.0 0.0 -1417.0 2.0 ShowBombingArea -1041.0 0.0 -548.0 2.0 ShowBombingArea -48.0 0.0 -643.0 2.0 } if Var MissionState == 1 && Player.DistancePoint -1290.0 0.0 -1417.0 < 100 && Var sensorDeployed1 == FALSE endif { ShowDeploySensorMessage } if Var MissionState == 1 && Player.DistancePoint -1041.0 0.0 -548.0 < 100 && Var sensorDeployed2 == FALSE endif { ShowDeploySensorMessage } if Var MissionState == 1 && Player.DistancePoint -48.0 0.0 -643.0 < 100 && Var sensorDeployed3 == FALSE endif { ShowDeploySensorMessage } if Var MissionState == 1 && Player.DistancePoint -1290.0 0.0 -1417.0 > 100 && Player.DistancePoint -1041.0 0.0 -548.0 > 100 && Player.DistancePoint -48.0 0.0 -643.0 > 100 endif { HideDeploySensorMessage } if Var MissionState == 1 && Player.DistancePoint -1290.0 0.0 -1417.0 < 100 && Var sensorDeployed1 == FALSE && Player.FiredSecondaryWeapon == TRUE endif { Var sensorDeployed1 = TRUE ; HideDeploySensorMessage } if Var MissionState == 1 && Player.DistancePoint -1041.0 0.0 -548.0 < 100 && Var sensorDeployed2 == FALSE && Player.FiredSecondaryWeapon == TRUE endif { Var sensorDeployed2 = TRUE ; HideDeploySensorMessage } if Var MissionState == 1 && Player.DistancePoint -48.0 0.0 -643.0 < 100 && Var sensorDeployed3 == FALSE && Player.FiredSecondaryWeapon == TRUE endif { Var sensorDeployed3 = TRUE ; HideDeploySensorMessage } if Var MissionState == 1 endif { HideZone HideBombingArea } if Var MissionState == 1 && Var sensorDeployed1 == FALSE endif { ShowZone -1290.0 0.0 -1417.0 1.0 SetBombingAreaScaleY 1.5 ShowBombingArea -1290.0 0.0 -1417.0 2.0 } if Var MissionState == 1 && Var sensorDeployed2 == FALSE endif { ShowZone -1041.0 0.0 -548.0 1.0 SetBombingAreaScaleY 1.5 ShowBombingArea -1041.0 0.0 -548.0 2.0 } if Var MissionState == 1 && Var sensorDeployed3 == FALSE endif { ShowZone -48.0 0.0 -643.0 1.0 SetBombingAreaScaleY 1.5 ShowBombingArea -48.0 0.0 -643.0 2.0 } if Objective.IsCompleted Objective1 == TRUE && Var skipped1 == FALSE && Var MissionState == 1 endif { Var skipped1 = TRUE ; Objective.Completed Objective1 Var MissionState = 2 ; Var Timer = 0 ; HideZone HideBombingArea } if Var MissionState == 1 && Var sensorDeployed1 == TRUE && Var sensorDeployed2 == TRUE && Var sensorDeployed3 == TRUE endif { Objective.Completed Objective1 Var MissionState = 2 ; Var Timer = 0 ; HideZone HideBombingArea } /* ------------------- Objective 2 - Deploy sensors. ------------------- */ if Var MissionState == 2 endif { Var Timer += 1 ; } if Var MissionState == 2 && Var Timer == 2 endif { CheckPoint } if Var MissionState == 2 && Var Timer == 10 endif { Message.DialogTimeFade 180 31003 0 6 Objective.AddFade Objective2 31002 0 FadeScriptedWeather ShowZone 1604.0 0.0 2202.0 3.0 ShowZone -966.0 0.0 2270.0 3.0 SetBombingAreaScaleY 1.5 ShowBombingArea 1604.0 0.0 2202.0 4.0 ShowBombingArea -966.0 0.0 2270.0 4.0 } if Var MissionState == 2 && Var Timer == 12 endif { Plane 0 SetActive 0 Plane 1 SetActive 0 Plane 2 SetActive 0 Player.ReloadSpecial planes/F4_Phantom/2.ini 0.0 0.0 0.0 0.0 Player.SpecialWaveEnable Player.ResetWave Player.AddToWave 3 Player.AddToWave 4 Player.AddToWave 5 Player.SetToNextPlaneInWave Player.PlanesWasChanged Player.AllowSwitch 1 Player.CannotRetireEnable Player.SetActWeapon 0 } if Var MissionState == 2 && Player.DistancePoint 1604.0 0.0 2202.0 < 500 && Var sensorDeployed4 == FALSE endif { ShowDeploySensorMessage } if Var MissionState == 2 && Player.DistancePoint -966.0 0.0 2270.0 < 500 && Var sensorDeployed5 == FALSE endif { ShowDeploySensorMessage } if Var MissionState == 2 && Player.DistancePoint 1604.0 0.0 2202.0 > 500 && Player.DistancePoint -966.0 0.0 2270.0 > 500 endif { HideDeploySensorMessage } if Var MissionState == 2 && Player.DistancePoint 1604.0 0.0 2202.0 < 500 && Var sensorDeployed4 == FALSE && Player.FiredSecondaryWeapon == TRUE endif { Var sensorDeployed4 = TRUE ; HideDeploySensorMessage } if Var MissionState == 2 && Player.DistancePoint -966.0 0.0 2270.0 < 500 && Var sensorDeployed5 == FALSE && Player.FiredSecondaryWeapon == TRUE endif { Var sensorDeployed5 = TRUE ; HideDeploySensorMessage } if Var MissionState == 2 endif { HideZone HideBombingArea } if Var MissionState == 2 && Var sensorDeployed4 == FALSE endif { ShowZone 1604.0 0.0 2202.0 1.0 SetBombingAreaScaleY 1.5 ShowBombingArea 1604.0 0.0 2202.0 2.0 } if Var MissionState == 2 && Var sensorDeployed5 == FALSE endif { ShowZone -966.0 0.0 2270.0 1.0 SetBombingAreaScaleY 1.5 ShowBombingArea -966.0 0.0 2270.0 2.0 } if Objective.IsCompleted Objective2 == TRUE && Var skipped2 == FALSE && Var MissionState == 2 endif { Var skipped2 = TRUE ; Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; HideZone HideBombingArea } if Var MissionState == 2 && Var sensorDeployed4 == TRUE && Var sensorDeployed5 == TRUE endif { Objective.Completed Objective2 Var MissionState = 3 ; Var Timer = 0 ; HideZone HideBombingArea } /* ------------------- Objective 3 - Intercept enemy fighters. ------------------- */ if Var MissionState == 3 endif { Var Timer += 1 ; } if Var MissionState == 3 && Var Timer == 2 endif { CheckPoint } if Var MissionState == 3 && Var Timer == 10 endif { Message.DialogTime 180 31005 0 6 Objective.Add Objective3 31004 0 Plane 6 SetActive 1 Plane 7 SetActive 1 Plane 8 SetActive 1 ProgressClear ProgressSetCaption 31017 ProgressAddTargetPlane 6 ProgressAddTargetPlane 7 ProgressAddTargetPlane 8 } if Objective.IsCompleted Objective3 == TRUE && Var skipped3 == FALSE && Var MissionState == 3 endif { Var skipped3 = TRUE ; Plane 6 SetLife 0 Plane 7 SetLife 0 Plane 8 SetLife 0 } if Var MissionState == 3 && Plane 6 Life <= 0 && Plane 7 Life <= 0 && Plane 8 Life <= 0 endif { Objective.Completed Objective3 Var MissionState = 4 ; Var Timer = 0 ; } /* ------------------- End mission ------------------- */ if Var MissionState == 4 endif { Var Timer += 1 ; } if Var MissionState == 4 && Var Timer == 10 endif { MissionCompleted MissionLeave 5 DebriefingIndex 31006 DisableBombing } /* ------------------------------------------------------------------------------ END --------------------------------------------------------------------------------- */ EndScript