Results 1 to 5 of 5

Thread: Action: Position Checker

  1. #1
    iScripter Laging's Avatar
    Join Date
    Feb 2013
    Location
    DeleteRa
    Posts
    1,555
    Mentioned
    79 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    126 Post(s)
    Reputation
    147
    Rep Power
    8

    Action: Position Checker

    Hello, I need to know if someone can help me with an action wich does the following:

    ex.: Im in a hunt, then in a wpt it need to cast exani hur up, sure...
    but for any reason, the character got blocked for any player of a lot of monsters then the char got stucked and doesn't keep hunting...
    theres an position checker wich will make the bot go back to a certainly wpt that will make character try to cast hur up again?

    other ex. method

    wpt:

    w001 node
    w002 Action exani hur up
    w003 stand
    w004 stand

    what's the correctly action to make char go back to wpt 001 if the character doesn't cast hur up?

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    w001 stand (labeled "HurUP")
    w002 action (labeled "GoUp")
    if islocation() then
    levitate("n", "up")
    end

    w003 stand [On upper floor]
    w004 action [labeled "CheckPos_1"]
    if not islocation(2)
    then
    gotolabel("HurUp")
    end


    That's how I doing it.

  3. #3
    iScripter Laging's Avatar
    Join Date
    Feb 2013
    Location
    DeleteRa
    Posts
    1,555
    Mentioned
    79 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    126 Post(s)
    Reputation
    147
    Rep Power
    8
    Quote Originally Posted by Eli View Post
    w001 stand (labeled "HurUP")
    w002 action (labeled "GoUp")
    if islocation() then
    levitate("n", "up")
    end

    w003 stand [On upper floor]
    w004 action [labeled "CheckPos_1"]
    if not islocation(2)
    then
    gotolabel("HurUp")
    end


    That's how I doing it.
    what the number (2) after not islocation mean?

  4. #4
    iScripter Laging's Avatar
    Join Date
    Feb 2013
    Location
    DeleteRa
    Posts
    1,555
    Mentioned
    79 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    126 Post(s)
    Reputation
    147
    Rep Power
    8
    can someone answer this last post?

  5. #5
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    distance how far this sqm can be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •