Results 1 to 6 of 6

Thread: Setting an angle?

  1. #1
    Join Date
    Feb 2012
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default Setting an angle?

    So, I'm running Nexz's script (link here) and I have adjusted it to handle my laggs. The only thing I couldn't do is to set angle to high North. I'm new to SRL scripting and I'm still a bit confused about SRL versions, but I beleive this Nexz's script is not running on SRL-6 (?)

    Neither of these functions worked for me:

    SetAngle(SRL_ANGLE_HIGH);

    RandomAngle(1)

    Could anyone explain me how to get those functions working, or tell me other way of getting my camera angle high North? Thanks!

  2. #2
    Join Date
    Feb 2012
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default

    Nobody?

  3. #3
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Maybe you can do something like this?

    I dont know if this is correct but it should be similar

    Presskey(''); or holdkey(''); cant remember..
    Wait(amount of time the angle is high);
    Releasekey('');

    Replace the empty parameters with the correct key (vk_up ?) not sure.

  4. #4
    Join Date
    Feb 2012
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    84 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    Maybe you can do something like this?

    I dont know if this is correct but it should be similar

    Presskey(''); or holdkey(''); cant remember..
    Wait(amount of time the angle is high);
    Releasekey('');

    Replace the empty parameters with the correct key (vk_up ?) not sure.
    Yeah something similar would be cool but it doesn't work.

  5. #5
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Nufineek View Post
    Yeah something similar would be cool but it doesn't work.
    why not?

  6. #6
    Join Date
    Oct 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Put this in the script after logging in

    typeByteWait(vk_up, 500 + random(100));

    That presses the key for 500 and a random 100, change those values depending on what you think is human, but that should work for.

    EDIT: To get it to be straight north you can click the compass next to the minimap. Use something like

    mouse((Point(761, 55).rand(10)), MOUSE_LEFT, MOUSE_HUMAN);

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
  •