Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: function use Exani Hur up/down ?

  1. #1
    Normal User apsik's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    function use Exani Hur up/down ?

    wcho change from ibot ?


    init start
    local pozz = $posz
    init end

    move('w')
    wait(1000,1500)
    if (pozz == $posz) then
    levitate('w', 'down')
    wait(1000,1500)
    end

  2. #2
    Normal User Nightcrawler's Avatar
    Join Date
    Apr 2012
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    Code:
    While not islocation() do
      wait(1000, 1500)
    end
    
    if islocation() then
      levitate("w", "down")
      wait(1000, 1500)
    end
    islocation() refers to the "waypoint x y z"
    Last edited by Nightcrawler; 05-19-2012 at 02:14 PM.

  3. #3
    Normal User apsik's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    u know meybe character moving north or down ? function move('n')

  4. #4
    Normal User apsik's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    dosn't work ;[

  5. #5
    Normal User Nightcrawler's Avatar
    Join Date
    Apr 2012
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    Make a stand waypoint in the sqm you want to use levitate from. Then make a new waypoint in the same sqm for the action. This will force your islocation() to be true and you will have your character going down with levitate.

    The levitate("w", "down") will automatically turn your face to west. You don't need the move("w") in iBot.

  6. #6
    Normal User apsik's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    know wcho change ?

  7. #7
    Normal User Nightcrawler's Avatar
    Join Date
    Apr 2012
    Posts
    190
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    Action edited. Try again.

  8. #8
    Normal User apsik's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    not work i need when im location to use move function when no i say my levitate function u know ?

  9. #9
    Normal User
    Join Date
    May 2012
    Location
    Manchester, England
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Code:
    if islocation() then
    levitate("w", down)
    else
    gotolabel("CHANGE THIS SO ITS THE STAND WPT TO LEVITATE")
    end
    This will work

  10. #10
    Normal User apsik's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    u dont understand
    when im location meybe going to move function not for levitate
    when im +1 use move when im no location -1 use levitate ..

Posting Permissions

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