Jump to content

Recommended Posts

Posted (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 by toutenglisse
Posted
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...