Results 1 to 8 of 8

Thread: if not islocation HELP!

  1. #1
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    if not islocation HELP!

    if not islocation() then
    reachcreature("Buddel")
    wait(1350,1650)
    npcsay("hi")
    wait(350,650)
    npcsay("go")
    wait(350,650)
    npcsay("tyrsung")
    wait(350,650)
    npcsay("yes")
    wait(350,650)
    else gotolabel("BuddelTravel")
    end

    whats wrong with that? some times buddel get me to another island and script keep working, do not back to label if is not location!!
    some1 can help me?
    Thanks

  2. #2
    Normal User Awskar's Avatar
    Join Date
    Aug 2012
    Location
    svärje
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    lol.. that npc are drunk, and that way can take you to another island... just put like 2-3 of those actions in a row, and you'll get where u want.

  3. #3
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Awskar.. if not islocation function is used to that!! thats why I'm asking help! Between nobody answer me I'm using 4 actions of Buddel since yesterday for bot afk xDD

  4. #4
    Normal User lilb4l's Avatar
    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    278
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    66
    Rep Power
    5
    just make a script if that puts dwarven ring on ringslot be4 u talk to him? and remove it on other side? if i remember right if u use dwarven ring he'll send u to right way...

  5. #5
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    you should do this:

    add an action in svargrond to travel, just: reach, hi, go, tyrsung, yes
    then in tyrsung you add:
    Code:
     if not islocation(5) then
    gotolabel(wpt.id-1)
    wait(200,400)
    end
    wins
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  6. #6
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Dehan.. what means the 5 in ()?

  7. #7
    Normal User
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    btw it works!! REP++ to u, but I still want to know what means (5) hahaha thanks very much

  8. #8
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    (5) is the range that you're allowed to be.

    example:
    you're in sqm 11111,22222,3 and the action with islocation in on 11110,22222,3 -> you're inside the range, so it won't ignore the next action.

    it seems confused ._. but u got it?
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

Posting Permissions

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