Results 1 to 9 of 9

Thread: How can I add screen rotation to my ODTM walker?

  1. #1
    Join Date
    Apr 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How can I add screen rotation to my ODTM walker?

    I want to make it to where the screen moves while it walks, I know how to make it walk and how to make the screen move, but I can't figure out how to do it simultaneously. Thank you for the help!

  2. #2
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    I think it has to be facing north to accurate...so this probably wouldn't be a good idea. I could be wrong tho.
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  3. #3
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    SetAngle('E'); or replace the E with N, W, S. Just put it in between walking nodes if your doing the split method with wait in between each node then this will work but if it's all just one path together then this won't work
    Current Project: Retired

  4. #4
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by 14578 View Post
    I think it has to be facing north to accurate...so this probably wouldn't be a good idea. I could be wrong tho.
    Yeah at the beginning of the ODTM process it clicks north but if you really wanted to just make the path node then say Changecompass'W'... then make the next one. tedious but its what you want

  5. #5
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by 14578 View Post
    I think it has to be facing north to accurate...so this probably wouldn't be a good idea. I could be wrong tho.
    Initially this was not the case, but a while back Jagex messed with the compass image and our angle-grabbing code is unable to get an accurate read on it so rotation support is iffy. As a general rule it is best to have it north, or at a 90 degree permutation.

    Quote Originally Posted by JOEbot View Post
    Yeah at the beginning of the ODTM process it clicks north but if you really wanted to just make the path node then say Changecompass'W'... then make the next one. tedious but its what you want
    No, that's SPS' walking.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  6. #6
    Join Date
    Apr 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well how can I make two task run at the same time?
    Example: Have a task that rotates my screen and a task that clicks something run at the same time.

  7. #7
    Join Date
    Aug 2008
    Location
    London, UK
    Posts
    456
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Joseph L View Post
    Well how can I make two task run at the same time?
    Example: Have a task that rotates my screen and a task that clicks something run at the same time.
    You can make your own FFlag procedure that can do the task (rotating), then wait for flag after.

  8. #8
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by beginner5 View Post
    If you want do this you have to modify ODTM include.
    Easier just to copy the procedure over to your script and give it a different name

  9. #9
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Instead of using ObjDTM_WalkPath use ObjDTM_Walk and set the Flag Distance to around 10-15. This way it will result true before it has finished walking and then you can carry on with your next procedure/function while you are walking, which in this case would be MakeCompass();

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
  •