Results 1 to 9 of 9

Thread: Few problems

  1. #1
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default Few problems

    All fixed, thanks ^_^
    Last edited by Main; 08-23-2009 at 02:54 PM.
    Oh Hai Dar

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    if(GameTab(Tab_Quest))then

    SCAR Code:
    if(GetMMLevels(params))then

    Like that?

  3. #3
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    LOL HAII IAN!

    Could you use it in like a example script? a script that detect if hp is below xx, then return as boolean. And a script that detect if a gametab EXIST or not (kinda like finding teleport randoms, but this is not the case).
    Oh Hai Dar

  4. #4
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Talking on MSN.

  5. #5
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Yer, we solved tab problem. But can any one give me a example on HP check?
    Last edited by Main; 08-23-2009 at 12:53 PM.
    Oh Hai Dar

  6. #6
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Main_Ftw View Post
    Yer, we solved tab problem. But can any one give me a example on HP check?
    HPpercent returns the percentage of hit points left.

    SCAR Code:
    if(HPpercent < 50)then eat;

  7. #7
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Do I have to make it get the HP levels first? because when I just stick that in there
    SCAR Code:
    If(HPpercent < 50)then Lag;
    "lag is my procedure", I get a runtime error.
    Oh Hai Dar

  8. #8
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    HPPercent should get and store your max possible HP the first time its called. After that it will just use that stored max hp.

    You can also use GetMMLevels to get your current HP or GetSkillInfo.

  9. #9
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    hmm, I'll try that. THANKS
    Oh Hai Dar

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
  •