Signup Now
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Label Name

  1. #11
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,820
    Reputation
    220
    Rep Power
    27
    raphael's library :P

  2. #12
    Free User Sajean's Avatar
    Join Date
    Feb 2014
    Posts
    386
    Reputation
    26
    Rep Power
    21
    Quote Originally Posted by mistgun View Post
    raphael's library :P
    Only check if have the label name, don't return the current label name.

     * Given a waypoint's label, gives its ID. Only works on the current section. If
    * no waypoint with that label is found, nothing is returned.



    Edit: We can make a workaround

    local wpt = getwptid('Teste')
    if($wptid == wpt)then
    --do something
    end
    Last edited by Sajean; 11-11-2014 at 06:27 PM.

  3. #13
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,820
    Reputation
    220
    Rep Power
    27
    Quote Originally Posted by Sajean View Post
    Only check if have the label name, don't return the current label name.

     * Given a waypoint's label, gives its ID. Only works on the current section. If
    * no waypoint with that label is found, nothing is returned.
    As i said will return 'labelname' id

  4. #14
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,569
    Reputation
    149
    Rep Power
    28
    Thats why getwaypoint() would be better, because you could get all information about x waypoint, f.e id, type, label, range etc

  5. #15
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    27
    Quote Originally Posted by Imba View Post
    Thats why getwaypoint() would be better, because you could get all information about x waypoint, f.e id, type, label, range etc
    for it you can use: https://tibiawindbot.com/docs.html#i...-settingsentry

    Level Latest Scripts by Dehan
    250+
    [EK & ED & MS & RP] [Navigation] Prison -1
    200+
    [EK & ED & MS] [Navigation] Asura Palace
    200+
    [EK & ED] [Navigation] Lower Roshamuul Softcore

 

 

Posting Permissions

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