Results 1 to 3 of 3

Thread: How to do a Waypoint check?

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

    Exclamation How to do a Waypoint check?

    i want to know how to make a waypoint checker
    its like:

    if x = posx, y = posy, z = posz then
    gotolabel('a')
    else
    gotolabel('b')

    thanks since now

  2. #2
    Banned
    Join Date
    May 2012
    Location
    Rio de Janero - RJ / Canada
    Posts
    870
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    0
    what are you trying to do??

    make an action with the position you want
    and use
    if islocation() then
    gotolabel('a')
    else
    gotolabel('b)
    end
    Dont forget REP+ if i helped

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Code:
    if not islocation(3) then
    gotolabel('w001')
    end
    This will check if you're in 3sqm radius of the action wpt, if you're not, go to waypoint w001.

  4. #4
    iBot User morgul's Avatar
    Join Date
    May 2012
    Location
    Poland, on Tibia Iridia
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Code:
    if posz ~= 5 then gotolabel('a')
    else gotolabel('b') 
    end
    U can change posx or y , z

Tags for this Thread

Posting Permissions

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