Results 1 to 3 of 3

Thread: SoulSplit RSPS Combat Script

  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SoulSplit RSPS Combat Script

    I want to make a combat script I was wondering if anyone had a way of checking if it was still in combat before trying to attack something else. And I have looting but it never checks for charms before it attacks something else. Any advise/code would help loads, Thanks.

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    You can use pixel shift functions to check if the player is animating, or if there is some kind of hit splash/hp bar when in combat you can use bitmap/TPA to check for them too.

  3. #3
    Join Date
    Mar 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    You can use pixel shift functions to check if the player is animating, or if there is some kind of hit splash/hp bar when in combat you can use bitmap/TPA to check for them too.
    Thanks, I've never used pixelshift care to explain or link me to a tutorial?

    procedure XpCounter;
    begin
    repeat
    wait(1000);
    until ((AveragePixelShift(IntToBox(456, 64, 510, 74), 500, 1000) > 1000));
    end;
    If this is right, how would i implement it to the attack procedure?
    Last edited by Chrisk1993; 10-18-2012 at 09:15 PM.

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
  •