Wrecking Crew Posted March 3, 2015 Posted March 3, 2015 (edited) Attached mission has five Blue infantry groups that each go to a Hold state at WP1. These Blue infantry commandos are sposed to go (Advanced WP) Hold -x (off Hold, continue on) once a zone is cleared of Red. I've tried Task Push and Task Set but the five infantry groups do not progress forward. like: BLF VGrp11 Commandos A test Radio Item will set the Flag 90115 to 1 (True) to force this and it should work after 15 seconds or so once all the Mission Start stuff is loaded. Please look at the mission in SP -- let it start for 30 seconds and the Blue infantry will move forward to their Hold positions. The Flag 90115 should release these five infantry groups to continue on their paths but they will not advance. I'm at a loss as to why they will not go 'off hold'. A Radio Menu choice is available to set Flag 90115 to On but nothing happens... WC Edited March 3, 2015 by Wrecking Crew 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.
Grimes Posted March 3, 2015 Posted March 3, 2015 The -x means the task is disabled from occurring, not to stop the current hold task. The option is there to easily debug tasking so you don't have to delete and re-add it each time you want to test it. Use either the action "Group Resume" or set a stop condition to the advanced waypoint Hold action. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Wrecking Crew Posted March 3, 2015 Author Posted March 3, 2015 (edited) Thanks, will try these ^^^ WC Edited March 3, 2015 by Wrecking Crew 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.
Wrecking Crew Posted March 3, 2015 Author Posted March 3, 2015 The Stop Condition worked. if trigger.misc.getUserFlag(90115) == 1 then return true end 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.
Wrecking Crew Posted March 4, 2015 Author Posted March 4, 2015 Same mission, updated with above improvements. These ^^^ infantry groups capture a bridge and their presence in zone '01 Zugdidi Bridge' should set Flag 90177 in a script: mist.flagFunc.units_in_zones{ units = {'[g]BLF VGrp11 Commandos','[g]BLF VGrp12 Commandos','[g]BLF VGrp13 Commandos','[g]BLF VGrp14 Commandos','[g]BLF VGrp15 Commandos'}, zones = {'01 Zugdidi Bridge'}, flag = 90177, zone_type = 'cylinder', req_num = 6, } Any issues with this script? I'm continuing to test it... 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.
Wrecking Crew Posted March 4, 2015 Author Posted March 4, 2015 (edited) I think it's figured out... The Flag 90177 triggered in the above script is used next in events with condition Time Since Flag 90177. These mist scripts will fire their flags to true each second as long as the condition is true, units in zones in this case. The flag fires every second and the Time Since Flag never reaches its setting. I knew this, took a bit to figure it out again... WC Edited March 4, 2015 by Wrecking Crew 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.
Recommended Posts