Hi, didnt find a answer here so I decided to ask myself.
I tried to create a map where you walk on a path and if you leave it your unit dies. (Like for example in Polar Escape in Wc3)
The Problem is the following:
In Wc3 you could get the Terrain a unit is standing on. So it was easy to kill a unit with a trigger if it leaves that certain terrain.
Unfortunately that's not possible in SC2.
I tried to use Regions, which is bad because you can only use circles and rectangles and you have to put a lot of them.
My other idea was to use the pathing editor. So if a unit leaves a "no building" zone it dies.
The problem ist that i couldn't find a function to make that work.
If anybody has a idea how that could be done then please tell me.
(Guess my english is not the best, hope it is understandable.)
You can make many shapes within a region, adding and subtracting them from eachother to get very precise shapes. You could probably map out the entire dangerous area with a single region (caveat: I don't know how many shapes can constitute a single region, as I've been working on a mod rather than maps, and so have to generate regions rather than lay them down)
Took some time to realize that i can put different shapes IN thesame region, first thought i have to create new negative regions.
The disadvantage is that it takes some time to place that much shapes.
Hi, didnt find a answer here so I decided to ask myself.
I tried to create a map where you walk on a path and if you leave it your unit dies. (Like for example in Polar Escape in Wc3)
The Problem is the following: In Wc3 you could get the Terrain a unit is standing on. So it was easy to kill a unit with a trigger if it leaves that certain terrain. Unfortunately that's not possible in SC2.
I tried to use Regions, which is bad because you can only use circles and rectangles and you have to put a lot of them. My other idea was to use the pathing editor. So if a unit leaves a "no building" zone it dies. The problem ist that i couldn't find a function to make that work.
If anybody has a idea how that could be done then please tell me. (Guess my english is not the best, hope it is understandable.)
You can make many shapes within a region, adding and subtracting them from eachother to get very precise shapes. You could probably map out the entire dangerous area with a single region (caveat: I don't know how many shapes can constitute a single region, as I've been working on a mod rather than maps, and so have to generate regions rather than lay them down)
Nice, that works well.
Took some time to realize that i can put different shapes IN thesame region, first thought i have to create new negative regions. The disadvantage is that it takes some time to place that much shapes.
Anway thanks for the reply.