Padonis Posted November 13, 2018 Share Posted November 13, 2018 You can not see the difference between the "GROUP DEAD" and "GROUP DEACTIVATE" trigger. When the GROUP DEACTIVATE trigger is triggered, the GROUP DEAD trigger begins. The vehicle or aircraft should disappear and not behave like an object damaged by someone else. How can I remove a group from the mission so that it only disappeared from the mission? Link to comment Share on other sites More sharing options...
feefifofum Posted November 13, 2018 Share Posted November 13, 2018 GROUP DEAD detects if a group has been destroyed either by a unit or by despawning them through the scripting engine. GROUP DEACTIVATE is an action which destroys the group on the scripting environment and removes them from the game world without an explosion. So, when you deactivate a group it will trigger the group dead check because they no longer exist. If you want to avoid triggering something when the group is removed via DEACTIVATE GROUP, set a flag prior to deactivating them and incorporate that flag into your GROUP DEAD check. THE GEORGIAN WAR - OFFICIAL F-15C DLC Link to comment Share on other sites More sharing options...
Padonis Posted November 14, 2018 Author Share Posted November 14, 2018 Honestly, I never use these flags and I do not know what they mean. Manual to "Mission Editor" probably comes from the time of "Lock On" and it is difficult to read something about it. Such an eternal ED problem, no update of the Game Manual. The last update was probably at FC3 ... Link to comment Share on other sites More sharing options...
feefifofum Posted November 14, 2018 Share Posted November 14, 2018 (edited) A flag is a variable that represents either a boolean (true/false) or numeric value. There can be any number of flags from 1-99999 in your mission. All flags have a default value of 0, or false. Any value greater than 1 is true. Flags can also be used as a counter and incremented or decremented by a trigger. As an example, let's say once your group enters a zone, they deactivate and in that event you do not wish them to be considered "dead." You would need two triggers. First, set a flag when they enter the "safe" zone. Then, check for their status and display a message only if that flag is false. So: 1 ONCE (MyGroup safe, NO EVENT) _______ PART OF GROUP IN ZONE (MyGroup, safezone) _______ FLAG ON (1) GROUP DEACTIVATE (MyGroup) ======================== 1 ONCE (MyGroup killed, NO EVENT) _______ GROUP DEAD (MyGroup) FLAG IS FALSE (1) _______ MESSAGE TO ALL ('MyGroup destroyed', 10) The message is only displayed if the group is destroyed before reaching the safe zone. Spend a little time experimenting and it will become clear and open up another level of possibilities with regard to mission design. Edited November 14, 2018 by feefifofum THE GEORGIAN WAR - OFFICIAL F-15C DLC Link to comment Share on other sites More sharing options...
Padonis Posted November 15, 2018 Author Share Posted November 15, 2018 Thank you, I test it and I hope I understand this problem. Link to comment Share on other sites More sharing options...
Recommended Posts