Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I don't think circular regions exist in WarCraft III. You can determine if something comes within so much of a circular range of a point, but that's as close as you'll get and I think it has some major limitations.
I THINK You can also just add points into a circular shape and then make a region out of them. I think...I don't know if that works with more then just 4 points.
I don't think circular regions exist in WarCraft III. You can determine if something comes within so much of a circular range of a point, but that's as close as you'll get and I think it has some major limitations.
This would work. Then in your events that use enter/leave region and it's for the circular region, you check to make sure that whatever is entering your circular region is within X range of that point.
So you'd need a location and a region, along with a trigger condition specific to that location/circle/region.
If you want to use the functionality of regions, you can approximate a circle of rectangles. The smallest cells of regions are 32*32. But that may be unperformant to set up or include some nasty maths. What do you exactly want to do? Maybe region is not the best solution for that.
Then using a region won't help you much because you would have to adjust it onMove/periodically and removing cells does not trigger the leave event. There is no simple MoveRegion function and it would get overall expensive, imprecise and complicated. Better do what Chaosy suggested.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.