AceHart
Your Friendly Neighborhood Admin
- Reaction score
- 1,504
You know this white region on the minimap that shows what part of the map
you're currently looking at?
How do you find that region's coordinates?
(The four corners or one corner or the center and a size, whatever)
Why would I need this?
Glad you asked.
Well, it's simple to lock the camera to a unit.
I want this the other way around: Lock a unit inside the current view...
As in, moving it "back" if it gets outside.
The problem is to determine when exactly it's outside.
you're currently looking at?
How do you find that region's coordinates?
(The four corners or one corner or the center and a size, whatever)
Why would I need this?
Glad you asked.
Well, it's simple to lock the camera to a unit.
I want this the other way around: Lock a unit inside the current view...
As in, moving it "back" if it gets outside.
The problem is to determine when exactly it's outside.


