Jump to content

Falc

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Falc

  1. I'm trying to automate a specific camera movement in a game. It can only be done by a click&drag with the left mouse button. Now, MouseClickDrag works, but unfortunately, the results are not reliable. The actual in-game movement isn't always the same, which makes the rest of the script rather difficult to make. Let's say, for example, that I'm trying to rotate the camera 90 degrees, but what actually happens is somewhere between 80 and 100 degrees, impossible to accurately predict. Plus, because the whole angle of view changes, it's not as if I can just translate the coordinates I use for the rest of the script. So I'm hoping someone here has had a similar problem and can help out with some pointers. For example, I've tried using GetPixelColor and repeated small click&drags, and while that sort of manages to move the camera only between 85 and 95 degrees, it's still not suite good enough. Plus, speed is a bit of an issue and going very slow to get something really accurate would defeat the whole purpose of the script. Anyone?
×
×
  • Create New...