I believe that would lag a lot online. Also, something like this could have been done without the mouse moved event. But if you did it without the mouse mved event and instead used the mouse click event and then called the world position of the mouse click, you could get a similar effect, just without a texture on the ground showing you where the spell will affect. Also, events like mouse clicked and key pressed tend to lag in Battle.net, so it does what you want it to do a slight bit of time after you actually press the button. However, if you really need to do this, I would have a mouse tracking trigger for each player which is initially off and gets turn on whenever a player does something requiring mouse tracking so that, in most cases, not many people are using mouse tracking at one time.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I believe that would lag a lot online. Also, something like this could have been done without the mouse moved event. But if you did it without the mouse mved event and instead used the mouse click event and then called the world position of the mouse click, you could get a similar effect, just without a texture on the ground showing you where the spell will affect. Also, events like mouse clicked and key pressed tend to lag in Battle.net, so it does what you want it to do a slight bit of time after you actually press the button. However, if you really need to do this, I would have a mouse tracking trigger for each player which is initially off and gets turn on whenever a player does something requiring mouse tracking so that, in most cases, not many people are using mouse tracking at one time.