pdmarsh Posted October 26, 2014 Posted October 26, 2014 (edited) I'm trying to develop a mission in which only one of four groups will activate, and that activation will be random. If any one of the four groups activate, that activation will restrict the others from activating. This can be, and perhaps has to be sequential in that group 1 tries first; if group 1 does not activate, group 2 tries. If 1,2, or 3 don't activate, 4 will by default. I have tried doing this with a somewhat complicated application of flags, but my approach is not working. I first set all flags to false as a kind of initialization, and then if any given group appears in its own trigger zone, its flag goes on. This brings up a confusing item within Mission Editor; is "on" equal to "true," and is "off" equal to "false?" I wonder if this is causing some trouble in that my flags being set to "on" seem to be ignored when looking for that flag to be either true or false. Any help will be appreciated. Thanks, Paul Edited October 26, 2014 by pdmarsh [sIGPIC][/sIGPIC] DCSFlightpanels - Utility for Saitek Pro Flight Panels for DCS World Custom Saitek B.I.P. Tiles for DCSFlightpanels Saitek Switch Panel Template for DCSFlightpanels
Sabre-TLA Posted October 26, 2014 Posted October 26, 2014 Flag is ON is setting the FLAG to TRUE for the conditions test. FLAG OFF is FALSE for the conditions test. Check this sample mission to see how I did it. To activate a unit after mission start late activation has to be checked for the group. If a unit is already active then you can't activate it.Sample Random Group Activate.miz MapleFlagMissions - Read Our Blog for Updates
pdmarsh Posted October 26, 2014 Author Posted October 26, 2014 @Sabre-TLA -- Thank you very much! I sure over-complicated things. Your example works perfectly. Thanks again, Paul [sIGPIC][/sIGPIC] DCSFlightpanels - Utility for Saitek Pro Flight Panels for DCS World Custom Saitek B.I.P. Tiles for DCSFlightpanels Saitek Switch Panel Template for DCSFlightpanels
Recommended Posts