Results 1 to 2 of 2

Thread: [REQUEST] Action to use farmines' lever

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

    [REQUEST] Action to use farmines' lever

    I need an action to use the lever located in farmine, cuz sometimes you just have to use it one time, sometimes two, I tried to solve it my way without sucess, hope someone help me out ;p

    Thanks in advice.

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try the following:

    1. Place a Stand near lever and name it like "uselever1" without quotes.
    2. Add a Use on lever sqm (using north, east, west, etc).
    3. Manually use the lever till it takes your character to next position.
    4. On exact sqm that your character was teleported using the lever add another Stand.
    5. Add a Action on the same place as previous stand and add the following code to it:


    PHP Code:
    if not islocation()
    then
       gotolabel
    ("uselever1")
    end 
    And thats it, in case your character isn't on stand after using lever it will go back on waypoints and try again.

Posting Permissions

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