Results 1 to 4 of 4

Thread: if not islocation()

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    4

    if not islocation()

    Hiya, can anyone explain a little how the""

    if not islocation(2) then
    gotolabel()""

    Works? Cuz i can't understand what the 2 for example means? Is it +2 in the air or

  2. #2
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    the 2 is the range of sqm.

    So it's saying if your location is not within 2 sqm of this location, then goto this label("")

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    if not islocation() then
    gotolabel(" ")
    end

  4. #4
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    i've added
    if not islocation() then
    gotolabel("door2")
    end
    and it still doesnt go back to door2 if its not standing on the door help

Posting Permissions

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