Results 1 to 6 of 6

Thread: if not islocation HELP!

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    6
    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 gotolabel('use3')

    why wont i work?

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    He just continues down the waypoint list, he wont jump to label('use3')

  3. #3
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    PHP Code:
    if not islocation(2then
         gotolabel
    ("use3")
    end 

  4. #4
    iBot User sto1p's Avatar
    Join Date
    Feb 2012
    Posts
    483
    Mentioned
    32 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    120 Post(s)
    Reputation
    31
    Rep Power
    5
    Code:
     if not islocation(2) then
         gotolabel("use3")
    end

    Why islocation(2) ? or not (4) and ?

  5. #5
    Normal User wicholost's Avatar
    Join Date
    Jun 2012
    Location
    Jamaica, Chile
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    its the range to check, ej:

    islocation(2) = 2 sqm range distance
    islocation(4) = 4 sqm range distance

  6. #6
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    The number inside is the range how far you around you want the location to be from the xyz position you made the action wpt

    I prefer () when I want the character to be on a specific spot like levers and ropes
    I like to put 2-5 at other places such as boats and level change

Posting Permissions

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