uri_ba Posted July 4, 2021 Posted July 4, 2021 I there a way to pass a zone and point and get bool of if point is in zone or not? either Vanilla functions or MIST would be preferable. thanks! Creator of Hound ELINT script My pit building blog Few DIY projects on Github: DIY Cougar throttle Standalone USB controller | DIY FCC3 Standalone USB Controller
toutenglisse Posted July 4, 2021 Posted July 4, 2021 (edited) 48 minutes ago, uri_ba said: I there a way to pass a zone and point and get bool of if point is in zone or not? either Vanilla functions or MIST would be preferable. thanks! You have 1 example in this thread (lua math. function for circular zone) : Scripting Question - Mission Editor Discussion and Questions - ED Forums (eagle.ru) and 2 examples in this thread (mist functions for circular or poly zones) : Activating all "late activated" units in a zone - Mission Editor Discussion and Questions - ED Forums (eagle.ru) Edited July 4, 2021 by toutenglisse
uri_ba Posted July 4, 2021 Author Posted July 4, 2021 so distance form center point of circular zone or mist.pointInPolygon() which gets waypoints of a unit (like borders in MOOSE). how should I handle the new rectangle zones? Creator of Hound ELINT script My pit building blog Few DIY projects on Github: DIY Cougar throttle Standalone USB controller | DIY FCC3 Standalone USB Controller
toutenglisse Posted July 4, 2021 Posted July 4, 2021 15 minutes ago, uri_ba said: so distance form center point of circular zone or mist.pointInPolygon() which gets waypoints of a unit (like borders in MOOSE). how should I handle the new rectangle zones? Like in the 'mist function for poly zone' example, you can use vehicle wpt to border/match your M.E. square zone.
uri_ba Posted July 4, 2021 Author Posted July 4, 2021 thanks! I'll play around with it and see how it handles Creator of Hound ELINT script My pit building blog Few DIY projects on Github: DIY Cougar throttle Standalone USB controller | DIY FCC3 Standalone USB Controller
Recommended Posts