mkafrin / PolyZone

PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION] Is there any way to edit inside the zone?

hoaaiww opened this issue · comments

So I have a big zone for a lawn mower script and I would like to cut out the dirt and gravel areas. Is there any way to cut little zones out?

You could do this in two ways.

  1. Use a PolyZone and just set the points to go around the inner zones (this could get complicated and be hard to upkeep if those inner zones change)
  2. Have inner and outer zones. Then both can be checked to determine what to do. Aka "if inside outer zone, but not inside inner zones, do x"

Option 2 would probably be simpler to maintain and handle.