So, SEN, I'm having troubles with stuff when I center views on a location.
Basically, I have a trigger that centers the screen, except it also centers the mouse on that location.
What I want to be able to do is have the screen center, but the mouse stay in exactly the same spot.
I know it can be done, because I've seen it in maps.
Help?
None.
That's what happens when you play in single-player. You need to test your map on B.net.
As far as I know, Center View in single player does these things:
- Center the mouse to the middle of the screen.
- Make your screen move slowly and painfully to the location where it is centered
- Stop all triggers from running while the screen is being moved.
- Waits(0);
As Azrael has said, you need to test this in multiplayer. In multiplayer, Center View will do absolutely nothing except instantly make your screen snap to the new location.
None.