Teriander Posted January 26, 2019 Posted January 26, 2019 I'm trying to understand the flag system and how it relates to the mission being a success or failure. Lets say the objective is to destroy a command center. So I create a Trigger event that if the Command Center is destroyed, the FLAG ADDS 70 points. Landing back at base without damage adds 30 points. Thus, 100 points triggers a Mission Success? Any source I can read or watch on how the Trigger flags work? Thanks!
Rudel_chw Posted January 26, 2019 Posted January 26, 2019 Lets say the objective is to destroy a command center. So I create a Trigger event that if the Command Center is destroyed, the FLAG ADDS 70 points. Landing back at base without damage adds 30 points. Thus, 100 points triggers a Mission Success? Not really .. a Flag, in itself adds nothing to the Score of the Mission ... it serves to keep track of certain events on the game. For example, Flag 1 could keep track of the status of the Command Center: if Flag 1 is True, then the Command Center has been destroyed, if it is False then the CC is still OK. At Mission Start the Flag is false, so, you then need a Trigger to set the Flag 1 to True when the command center is destroyed. The Score is credited on the "Goals" section of the Mission Editor ... there you would put an entry that essentially says: Add 70 points to the Mission's Score if Flag 1 is true. Same with the landing, you could decide that Flag 2 will keep track of the landing ... True if the player has landed back, false otherwise. Then you would need a Trigger to set Flag 2 True when the event occurs; and finally on the Goals section you would put an entry "Add 30 points to the Score if Flag 2 is true. Any source I can read or watch on how the Trigger flags work? On /program files/eagle dynamics/dcs/doc there is a manual that contains a lot of info on this subject .. its somewhat outdated but server as a first step. Best regards For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Teriander Posted January 26, 2019 Author Posted January 26, 2019 Your response rocks Rudel. Thanks for that! It helps a lot.
Rudel_chw Posted January 26, 2019 Posted January 26, 2019 Your response rocks Rudel. Thanks for that! It helps a lot. You are welcome :) .. here is a real example, taken from one of my C-101 missions: Here I want to use Flag 6 to keep track if the player has straffed a Target named "Left Gun Target", for that I make use of the Condition "UNIT HITS", that is true if at least 1 shot has hit the target. I also test for the "UNIT ALIVE" because the player can use one of two aircrafts: Ground Start or Air Start, so this particular Trigger is for when the player is on the "Trainee" unit. Now, when Flag 6 turns TRUE, the following Goal is met: ... and 20 points are added to the Mission Score (on the Briefing it's called "Results", but on the Goals windows it's called "Score", hopefully one day ED will correct this incongruence) Cheers For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Recommended Posts