quraji
zap
- Reaction score
- 144
It's known if you read the first post.
Woops. I have a bad habit of not reading a whole post/code.
It's known if you read the first post.
I would say "yes".Does this work for Macs?
EDIT : Ok i've forgotten you can't compile vJass, i will add a demo map in the first post.
OK, but how useful is it to detect minimization then, if it doesn't detect someone putting WC3 in windowed mode and then going off to some other application for a while?
Why people never read totally the main post before post :banghead:Also, what about the way it erroneously counted time away when the camera view was scrolled all the way to the right?
If the camera is moving, it -obviously- doesn't need to check if they're minimised.last time i checked it fucks up all the move.
Yes, but if wc3 is minimized, the X/Y of camera won't be changed, so the "system" will try to pan the camera, and then fuck up all the move when the player will be "back".If the camera is moving, it -obviously- doesn't need to check if they're minimised.
Since we don't have natives functions to detect the mouse position it can't be done like that, maybe with Reinventing The Craft but with all his cons too.Maybe you can detect if the player moves the Mouse or do something ingame per second for know if he is active in the game.