-- ============================================================ -- HANÇER #1 - ARRIVAL NOTIFICATION -- KEŞAN MILITARY TEST RANGE -- CMO 1900.24 -- ============================================================ -- Unique key to track if this specific alert has already fired local ALERT_KEY = "Hancer1_Arrival_Notified" -- Check if the alert has already been displayed in this scenario run local alreadyNotified = ScenEdit_GetKeyValue(ALERT_KEY) if alreadyNotified == "true" then -- Exit immediately to prevent the duplicate window from appearing return end local TB2_GUID = "CWVLA7-0HNPS0BABCMVU" local aircraft = ScenEdit_GetUnit({ guid = TB2_GUID }) if not aircraft then print("ERROR: HANÇER #1 NOT FOUND") return end local html = [===[
HANÇER / MISSION CONTROL
● ARRIVAL CONFIRMED
KEŞAN MILITARY TEST RANGE
AIRCRAFT: HANÇER #1
MISSION: HANÇER
PATROL ZONE: Keşan Military Test Range

Hançer #1 has successfully arrived at the designated patrol area.

The aircraft is now inside Keşan Military Test Range.

You may proceed with the scheduled mission exercise and operator-controlled strike activities.
]===] -- Flag this alert as completed inside the game's key-value database ScenEdit_SetKeyValue(ALERT_KEY, "true") UI_CallAdvancedHTMLDialog( "HANÇER - ARRIVAL NOTIFICATION", html, {"ACKNOWLEDGE"} ) print("HANÇER #1 ARRIVAL NOTIFICATION DISPLAYED") -- ============================================================ -- END OF EVENT ACTION -- ============================================================