Results 1 to 2 of 2

Thread: if not islocation(3)

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0

    if not islocation(3)

    Hello.

    I have a lot of scripts and inside wpt I see a lot of this
    PHP Code:
    if not islocation(3)
    then
        gotolabel
    ("name of wpt")
    end 
    or
    PHP Code:
    if not islocation()
    then
        gotolabel
    ("name of wpt")
    end 
    What is this ?

  2. #2
    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
    If your character is not near the location of the action waypoint with that code, 3 sqm range, it will execute the code "gotolabel("name of wpt")".

    Code:
    if not islocation()
    If your character is not at the exact location of the action waypoint with that code it will execute the code "gotolabel("name of wpt")".

Posting Permissions

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