Results 1 to 2 of 2

Thread: Mouse speed in HumanMMouse

  1. #1
    Join Date
    Oct 2017
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Mouse speed in HumanMMouse

    Hi,

    First off I want to say I am a beginner scripter.
    I am trying to find out the default mouse speed when using the procedure HumanMMouse.
    I found the procedure in core/engine/InputHandler, but I cannot seem to understand what is the default range for the mouse speed. I need to know this because in certain parts of my script I want to increase the mouse speed, but afterwards I want it to get back to its default value.

    Anybody can help?

    Thanks!

  2. #2
    Join Date
    Aug 2013
    Posts
    230
    Mentioned
    1 Post(s)
    Quoted
    114 Post(s)

    Default

    Are you using aerolib?

    The mouse speed is stored in the MouseSpeed variable

    You can set a temp variable to store the mousespeed before changing it and then use it set it back
    Code:
    A := MouseSpeed;
    MouseSpeed := <new speed>;
    
    //run code
    
    MouseSpeed := A;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •