# Initialization trigger
{1\Initialize\
   TRUE
\1}

# -------------------------------------------
# Fixed trigger events (10+)
# -------------------------------------------
# Daily brief
{10\BeginGroupTurn\
   (GCurrentForce == GCurDispForce) &&
   (BriefTurn     != GCurrentTurn)
\10}

# -------------------------------------------
# End of supply/reinforcement/replacement mission
{100\EndMission\
   GCurrentOrder == 9
\100}

# -------------------------------------------
# End of turn:  do conditional replacements
{110\EndTurn\
   TRUE
\110}

# -------------------------------------------
# Unit died:  keep track of where it was, and which turn it died on...for resurrection
{120\UnitKilled\
   TRUE
\120}

# -------------------------------------------
# End of turn:  try to resurrect ground units dead for at least 1 turn.
# dead SAM unit
{130\EndTurn\
   TRUE
\130}

# -------------------------------------------
# Special triggers for scenarios
# -------------------------------------------
#
#                Info Superiority
#
# Reset RF strength of NKPA air defense units to 0
{1000\BeginGroupTurn\
   (GCurrentScenario == "Info Superiority") &&
   (GCurrentTurn < 5)
\1000}

# -------------------------------------------
# Turn all militia units into infantry units
{1010\BeginTurn\
   (GCurrentScenario == "Info Superiority") &&
   (GCurrentTurn == 5)
\1010}

# -------------------------------------------
# Hold all ground units until turn 5
{1020\BeginTurn\
   (GCurrentScenario == "Info Superiority") &&
   (GCurrentTurn < 5)
\1020}

# -------------------------------------------
# Allow all ground units to fight after turn 5
{1030\BeginTurn\
   (GCurrentScenario == "Info Superiority") &&
   (GCurrentTurn == 5)
\1030}

# -------------------------------------------
#
#                Agile Combat Support
#
# Check to see if we're adding objectives during this turn
{1100\BeginTurn\
   (GCurrentScenario == "Agile Combat Support") &&
   (GCurrentTurn     == AddObjectiveTurn)
\1100}

# Add more objectives on turn + 1
{1110\BeginTurn\
   (GCurrentScenario == "Agile Combat Support") &&
   (GCurrentTurn     == (AddObjectiveTurn + 1))
\1110}

# Turn 4 add bridges
{1120\BeginTurn\
   (GCurrentScenario == "Agile Combat Support") &&
   (GCurrentTurn     == 4)
\1120}

# Last turn objective evaluation
{1130\EndTurn\
   (GCurrentScenario == "Agile Combat Support") &&
   (GCurrentTurn     == GMaxTurns)
\1130}
   
# -------------------------------------------
#
#                Air Superiority
#
# Set movement of all player's ground units to 0
{1200\BeginTurn\
   GCurrentScenario == "Air Superiority"
\1200}


# -------------------------------------------
#
#                Precision Engagement
#
# Set movement of all player's ground units to 0
{1300\BeginTurn\
   GCurrentScenario == "Precision Engagement"
\1200}

# -------------------------------------------
# Clean-up area (9000+)
# -------------------------------------------
# Clean-up (Finalize)
{9000\Finalize\
   TRUE
\9000}
