I thought I'd trigger it if it's X value was say under 10 or over 240, or Y value was under 10 or over 240 but I haven't found a way to get the unit's x or y position. So maybe a distance check to map edge, but how is that setup? Or is there a better way?
What's the best way to do this?
I thought I'd trigger it if it's X value was say under 10 or over 240, or Y value was under 10 or over 240 but I haven't found a way to get the unit's x or y position. So maybe a distance check to map edge, but how is that setup? Or is there a better way?
You could just make a region around the borders of the map. Then if any unit enters the region, remove the unit
In reply to TheBeaver102:
This isn't for just a map though, it's for a mod that maps use.