Backy 51 Posted October 21, 2017 Share Posted October 21, 2017 (edited) Does anyone know of a way to make rectangular or square trigger zones instead of the circular radius offered in the ME? I would like to establish some trigger actions based on entry or exit from an airspace corridor and I want to know if you "bust" the corridor line. Manually dropping dozens of small circular trigger zones to approximate a rectangular corridor is a royal PITA! Any ideas? Edited October 21, 2017 by Backy 51 I don't need no stinkin' GPS! (except for PGMs :D) [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
FlightControl Posted October 21, 2017 Share Posted October 21, 2017 Off the shelf in DCS no.... But! Have a look at ZONE_POLYGON class as part of the MOOSE framework. Can you code? Sven [TABLE][sIGPIC][/sIGPIC]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE] Link to comment Share on other sites More sharing options...
Backy 51 Posted October 21, 2017 Author Share Posted October 21, 2017 (edited) I guess it's time for me to learn Moose. My coding experience was with ancient BASIC millions of years ago. Sven, your tutorials look great ... I just need to be able to devote the time to watch them. Can an old dog be taught new tricks? Edited October 21, 2017 by Backy 51 I don't need no stinkin' GPS! (except for PGMs :D) [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
FlightControl Posted October 21, 2017 Share Posted October 21, 2017 I guess it's time for me to learn Moose. Can an old dog be taught new tricks? Always. As long as the bait is kept fresh! It is not hard. Send me your email in a private msg. There is a forum to learn stuff... Also have a look at the MOOSE for dummies videos if you have time. Maybe they help to get started... Suggest you look into SPAWN and RAT as a start. There are easy classes that show quickly fun results. [TABLE][sIGPIC][/sIGPIC]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE] Link to comment Share on other sites More sharing options...
fargo007 Posted October 26, 2017 Share Posted October 26, 2017 Backy, There are videos from FlightControl illustrating how to set up the Lua Development Environment. Highly recommend you follow those. It's not explicitly required, but it's silly not to. You will have access to SO much more information and will waste far less time if you do. The (shockingly robust) documentation for MOOSE gets baked right inside, so you can see immediately what all the methods are for a class, and also have a syntax typo flagged. The example missions are so unbelievably detailed that you can harvest huge chunks of functionality from them directly and adapt it to your use case instead of writing from scratch. Have fun. Don't suck. Kill bad guys. https://discord.gg/blacksharkden/ Link to comment Share on other sites More sharing options...
IAF.AssafB Posted October 26, 2017 Share Posted October 26, 2017 Hi, There're functions for this available in MIST (by Grimes). I'm terribly incompetent when it comes to codes/scripting and using MIST is about as far as I'm able to get in this field (tried to get into MOOSE but with no success. I'll have to give it another shot sometime) From your description it seems that you could use mist.flagFunc.units_in_polygon http://wiki.hoggit.us/view/Units_in_polygon HTH, Assaf. Link to comment Share on other sites More sharing options...
Recommended Posts