Results 1 to 3 of 3

Thread: if y x z then walk north 1 sqm

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    if y x z then walk north 1 sqm

    can anyone help me with this action? its a area where it can go down in the stairs and if it does i want it go up 1 sqm, so like the title if y x z then walk north 1 sqm!

  2. #2
    Normal User jesusz0r's Avatar
    Join Date
    Jun 2012
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    17
    Rep Power
    5
    PHP Code:
    if posz == z then
    move
    ('n')
    end 

  3. #3
    Normal User
    Join Date
    May 2012
    Location
    England
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    PHP Code:
    local x 32264 -- X Position to move from
    local y 
    31141 -- Y Position to move from
    local z 
    7  -- Z Position to move from

    if posz == and posy == and posz == z then 
       move
    ('n'
    end 
    If you can't find the X, Y, Z pos, just add a wpt when you're stood on the square, and copy the numbers across. I recommend copying instead of typing since you won't make a mistake this way

Posting Permissions

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