HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question about circular regions

12-01-2004, 05:44 PM#1
Guest
Is there a way to add circular regions to a map?
12-01-2004, 06:00 PM#2
Ant
Not that I know of using normal gui triggers... but you can create a unit and check range. That checks in a circle i think.
12-01-2004, 06:08 PM#3
Guest
Correct Ant. Although i doubt you could use 'check range' for region-based business.
12-01-2004, 07:08 PM#4
Guest
Yeah I know, but I was merely trying something with Jass, and it didnt work. Although there is an RegionAddCell(region region, real X, real Y) function, with which I wanted to make a circle-like region, I can't get it to work.

Thanks anyway.
12-01-2004, 08:00 PM#5
theJ89
Well i have an idea to make circular regions to work! here is my idea...

1. Make a square region (same width and height, if at all possible)
2. Make the event "unit enters a region"
3. Make the condition (entering unit) is within circular area of region's width/2
12-01-2004, 08:02 PM#6
theJ89
In fact... you know ill try creating that. check the trigger repository later, ok?