Results 1 to 3 of 3

Thread: How to find if in Fight?

  1. #1
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to find if in Fight?

    Quick question, if your in a fight other then searching the screen like 1/4 the way of the boarder for green and red is there any way to check if your in a fight in a area with lots of poeple, where HP will not change much so cant check for that
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Troll View Post
    Quick question, if your in a fight other then searching the screen like 1/4 the way of the boarder for green and red is there any way to check if your in a fight in a area with lots of poeple, where HP will not change much so cant check for that
    SRL_InFight? Or include the SRL/SRL/Skill/Fighting.scar, it has some useful functions in there.. I'm currently using it to fight zombies and my hp doesn't change at all since I soulsplit 24/7..

    Tbh script has been running only 7 hrs but its pretty good.. just needs work.


    I'd say that InFight function is as good as it gets or you can make some custom fight function that checks if your hp goes down by one every 10 miliseconds.. AND use a pixelshift to check if you animate.. if u are, then your probably fighting back or moving/running.

    What script are you triyng to write? Or should I say what area are you scripting for?
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bit more testing for me then, i found SRL_InFIght not working for me, and no where its just a fighting anywhere thing at the moment im not sure where it should be for yet
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

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
  •