Jump to content

Trying to make a reseting timer when an airdrome is contested


Go to solution Solved by kira_mikamy,

How do you fly  

2 members have voted

  1. 1. How do you fly

    • Conservative Flying
      1
    • Kamkaze Flying
      1


Recommended Posts

Posted

Hello all, I am trying to make a mission for some friends I play with and unfortunately I have hit a snag. I have never been able to understand the use of flags and I dont see any way around making what I want to make without using them. The mission is basically airfield control where the two coalitions are fighting for control of the airdrome. I want to implement a 10 minute timer to end the mission if the airdrome is not contested for 10 continuous minutes but i want the timer to reset when it becomes contested. Ill link the mission, but it is extremely bare bones at the moment and i think i left what remains of my attempt to make the timer in the triggers section. Any tips or help understanding how i could get this to work would be greatly appreciated. 

RedVBlue.Caucasus.miz

  • Solution
Posted

Hi! You should be able to solve it by adding a trigger that uses "Time Since Flag" together with "Coalition Has Airdrome" as conditions.

Since you already have a trigger that activates Flag 1 when Red captures the base, you just need to add a "Time Since Flag 1" = 600 seconds condition combined with "Coalition Has Airdrome = Red".

This way, the trigger will only fire after Red has controlled the airbase for 10 minutes.
If Blue captures it in the meantime, Flag 1 turns off and the timer resets automatically.
Since the trigger is set to Switched Condition, it will start counting again if Red recaptures the airbase later.
You can do exactly the same logic for Blue, just reversed.
Let me know if this works for you

 

Screenshot 2025-10-18 033539.png

Posted

Just make sure you realize what the conditions are required for a coalition to actually take control of an airport.  If there is even 1 opposing nearby it may not flip but remains contested.

From a forum post a while ago:

          In general it seems

1.    Something beats nothing obviously.  I even had a situation where a marker tire I had forgot to set to neutral owner was capturing a FARP when no other units in range.

2.  Armor beats infantry

3.  Armed beats unarmed

4. Count doesn't seem to matter.  One infantry against 10 infantry is still evenly contested.

          Some surprising edge cases..

          Unarmed static shipping containers and canvas tents seem to have magical powers that defend against even armed infantry.

          An orca whale static will capture a FARP.  I guess that IS a killer whale after all.

Or even an aggressive cow set to a coalition.

Posted

I will remember this for future missions. As it stands currently, what i am working of is for my friends who dont fly but rather do combined arms, commander, and jtac stuff so the premise of the mission is to hold the airfield while repelling opposing ground forces and having even one unit break the airdrome is exactly what i was wanting to reset the timer. Thank you for adding this to the thread 

Posted
17 hours ago, kira_mikamy said:

Let me know if this works for you

This worked exactly as I wanted it to. Thank you for your help

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...