Wrecking Crew Posted December 16, 2013 Posted December 16, 2013 Started playing with adding the 'toggle' to the units_in_zones script. Here is a link to documentation -- http://wiki.hoggit.us/view/Units_in_zones This is the script -- mist.flagFunc.units_in_zones{ units = {'[red][plane]'}, zones = {'Supply 1 Zone'}, flag = 117, zone_type = cylinder, toggle = true } Problem is that Flag 117 is going True, but not back to False when the a/c leaves the zone. I am using Mistv2_0.lua. Is that why it is not working? Is there a later release of Mist? I'll post a test mission later, after work, if it's needed. 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 December 16, 2013 Author Posted December 16, 2013 Ummm, I see a Mist 3 link about three posts down in the MIST thread... I'll try that later. http://forums.eagle.ru/showthread.php?t=98616 Hoggits wiki has this at the top of the section -- 'Added with: Mist 1.0' -- but I thought the toggle was a later addition. 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.
Grimes Posted December 16, 2013 Posted December 16, 2013 The function was first implemented with Mist v1, but the toggle parameter was added with v3. I can't update speed's initial post so it will remain out of date until he gets back. 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 December 16, 2013 Author Posted December 16, 2013 Thanks, Grimes. Speed, I hope all is well your way... 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.
mwd2 Posted December 17, 2013 Posted December 17, 2013 i got the same problem under v2: http://forums.eagle.ru/showpost.php?p=1700586&postcount=103 Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
Wrecking Crew Posted December 17, 2013 Author Posted December 17, 2013 mwd2 - Look at St3v3f's 2nd post in this thread -- http://forums.eagle.ru/showthread.php?t=109684 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.
Recommended Posts