Results 1 to 2 of 2

Thread: after action to check lever then use

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    after action to check lever then use

    after an action for a tomb to clean sq then check the lever position, use if 2772 (left) then check to see if its 2773 (right)

    thanks,

    also would love a little explanation on were to add my stand and action wpts in relation to the sq.

    thanks guys

  2. #2
    Normal User
    Join Date
    Aug 2012
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    got one thanks to Pink_panter

    -- Location to clean
    local locX = 33028 -- Pos X of Wpt
    local locY = 32588 -- Pos Y of Wpt

    -- Clean/Open/On state ID
    local correctState = 2773

    -- ID of Blood Splatter to add when cleaning a sick/sand hole
    -- local blood = 2891 or 2890 or 2889 or 2888 or 2887 or 2886


    while toptileitem(locX, locY, posz) ~= correctState and islocation(3) do
    moveitems(toptileitem(locX, locY, posz), ground(locX, locY, posz), ground(posx,posy,posz), 100)
    wait(500)
    -- This part uses a destroy field on top if there is a non-pvp field on the location
    if toptileitem(locX, locY, posz) == (2131 or 2132 or 2133 or 2134 or 2135) then
    useitemon("destroy field rune", locX, locY, posz)
    wait(500)
    end
    uselever(locX, locY, posz)
    wait(500)
    end


    just need to make sure ur standing next to the wpt and it will work

Posting Permissions

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