Jump to content

Recommended Posts

Posted

hi everyone?

i made a mission for online. i have a trigger for mission to restart after 60 minutes.i also have a trigger that gives a warning message "mission will restart in 5 minutes". both of those work fine. what i would like to also add is, team wins trigger after red or blue team reaches 100 points.can this be done? if so how do i do this?

thanks in advance

Posted

Use the MISSION SCORE HIGHER THAN condition in the triggers.

 

You can select the Coalition within the condition.

 

So you create two triggers one for red and one for blue:

 

Red Trigger - MISSION SCORE HIGHER THAN COALITION RED SCORE 100 - 'Red Team Wins'

 

Blue Trigger - MISSION SCORE HIGHER THAN COALITION BLUE SCORE 100 - 'Blue Team Wins'

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Posted (edited)
Use the MISSION SCORE HIGHER THAN condition in the triggers.

 

You can select the Coalition within the condition.

 

So you create two triggers one for red and one for blue:

 

Red Trigger - MISSION SCORE HIGHER THAN COALITION RED SCORE 100 - 'Red Team Wins'

 

Blue Trigger - MISSION SCORE HIGHER THAN COALITION BLUE SCORE 100 - 'Blue Team Wins'

 

wow, thank you Sabre

 

do i also start with NEW 1 ONCE before the condition and action?

Edited by grissto
Posted

ONCE means the trigger will execute once and if true then get removed from the trigger list for subsequent checks. If the condition stays FALSE it will be evaluated with each cycle through the trigger list (once a second I believe).

 

ONCE is good enough for this check since once it becomes true I assume the mission is over.

 

Some of the other choices are:

 

CONTINUOUS ACTION - Trigger is evaluated with each pass through the trigger list and is never removed regardless of the result of the condition test. If TRUE the action is performed, if FALSE no action is done.

SWITCHED CONDITION - Trigger is evaluated and will execute if the condition is TRUE and it's previous result was FALSE. Kind of like a toggle switch. For example you might want to play a message while a unit is in a zone. Once the unit exits the zone the condition is set back to false so the message can play again if the unit reenters the zone.

MISSION START - Executed only at mission start time. Useful for setting up random units before the mission gets going.

 

The ONCE and CONTINUOUS ACTION triggers can also be launched only on certain events which helps to reduce the number of triggers having to be evaluated.

 

The DCS User Manual has a good write up on all the triggers and conditions and some good examples. It's easy to use once you learn it.

F-15C-User-Bar-ACM.v2.jpg

MapleFlagMissions - Read Our Blog for Updates

Posted (edited)

thank you Sabre...:)

 

EDIT: couldn't get it to work. set trigger and tested it as follows; myself & ai online

 

NEW 1 ONCE / condition MISSION SCORE HIGHER THAN coalition Blue score 100/ action MESSAGE TO ALL "blue team has won" then did the same for red team. tried this out online and after i scored more than 100 points, it did not work. used myself on blue team and ai on red team......i must of missed something here, oh well :-(

Edited by grissto
  • Recently Browsing   0 members

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