Results 1 to 2 of 2

Thread: moveitem ground not working

  1. #1

    Join Date
    Oct 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    moveitem ground not working

    Hello,

    I want to exclude as much possibilities that makes the script stop. Most things work fine it's just loads of wp's.
    I need to enter a sewer gate which if blocked is impossible. Blocking by trash happens more and more these days.

    My WPT setup
    stand, go_down
    use, gate
    stand, + action check location else clear_hole
    clear_hole action
    goto go_down

    The cycle repeats itself but the items wont move. I've searched on the forums but what I found didn't work.

    Here's the code
    PHP Code:
    local fromX 33173 -- Pos X of the location to check
    local fromY 
    31843 -- Pos Y of the location to check

    moveitem
    (topitem(fromXfromYposz), ground(fromXfromYposz), ground(posxposyposz), 100

    Kind regards,

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    PHP Code:
    moveitems(toptileitem(fromXfromYposz), ground(fromXfromYposz), ground(posxposyposz), 100

Posting Permissions

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