tovivan Posted January 24, 2016 Posted January 24, 2016 Have several questions/requests and I'm hoping someone could help me with them. 1. Could anyone please explain to me or point me to an already-existing explanation on how to use flags as conditions for triggers and what do the flag and value things mean and how to use them? I want a mission to end based on 3 different conditions being met (ground target destroyed, enemy fighter destroyed and all coalition planes landed in a specific spot on the parking lot) and it looks as if these flags are the way to go. But I have no idea how to use them. 2. How do I make sure the briefing for the mission doesn't include a list of enemy units/threats? I don't want players to see what is waiting for them and be ready for it. 3. For some reason the game doesn't register the kill of an AI plane, whose shoot-down (with guns) is supposed to trigger a message to the group that shot it down (escort fighter) and also be one of the conditions to trigger mission end. Is it because if the AI bails out it's not counted as a kill since the pilot survives? How can I get the plane be counted as a kill even if the pilot survives so it triggers a trigger? Thanks in advance!
Wrecking Crew Posted January 25, 2016 Posted January 25, 2016 That's a lot of questions in one post :-) Check out my SITE and download the Back Of The Hand mission, to see how it handles AI civ a/c shoot downs. Look on the Mission Resources page for 'WCs Flags 20151231.txt". Enjoy! WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
feefifofum Posted January 28, 2016 Posted January 28, 2016 1. Flags can be either Boolean (true/false/0/1) or a numerical value. FLAG IS TRUE checks for any value higher than 0. FLAG ON increases the flag value from 0 to 1. FLAG INCREASE adds a numerical value to the flag. You can use this later if you're trying to tally a number of kills, but for what you are trying to do simple true (1) and false (0) values should be fine. 2. Select enemy units in the mission editor and check the "hidden on map" box. 3. GROUP DEAD will not report true until the last fighter in a group is destroyed and the plane hits the ground. UNIT DEAD will report true as soon as the plane is destroyed in midair or if the pilot ejects. So for your case TRIGGERS: 1 ONCE (fighter dead, NO EVENT ) CONDITIONS: UNIT DEAD (fighter pilot) TRIGGERED ACTIONS: MESSAGE TO ALL ('Fighter destroyed.', 10) FLAG ON (3) THE GEORGIAN WAR - OFFICIAL F-15C DLC
tovivan Posted January 30, 2016 Author Posted January 30, 2016 1. Flags can be either Boolean (true/false/0/1) or a numerical value. ... Thanks! :D :beer:
Recommended Posts