Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Use item from (x,y,z) on item on x2,y2,z2)

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

    Use item from (x,y,z) on item on x2,y2,z2)

    Hello is there anyway to do:
    Use item from (x,y,z) on item on x2,y2,z2)? I want to make script for a quest which needed this action.

  2. #2
    Normal User
    Join Date
    Aug 2012
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    21
    Rep Power
    5
    REfresh my friends.

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    21
    Rep Power
    5
    Refresh!

  4. #4
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Lua Code:
    useitemonitem("item name", ground(x2,y2,z2), ground(x,y,z))

  5. #5
    Normal User
    Join Date
    Aug 2012
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    21
    Rep Power
    5
    Unfortunatelly, It doesn't work Eldar: (

  6. #6
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Check debug log.

  7. #7
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    Quote Originally Posted by Scross View Post
    Hello is there anyway to do:
    Use item from (x,y,z) on item on x2,y2,z2)? I want to make script for a quest which needed this action.
    x2? y2? and z2? maybe you are thinking about x+2, y+2 and z+2? becouse it's not the same o.O
    Last edited by ampegox; 12-31-2013 at 11:21 AM.

  8. #8
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Quote Originally Posted by ampegox View Post
    x2? y2? and z2? maybe you are thinking about x+2, y+2 and z+2? becouse it's not the same o.O
    I dont think so, its not possible to use item on item on different floor xD

    @Scross maybe you put wrong coordinates? Check it and debug log
    Last edited by Eldar; 12-31-2013 at 11:52 AM.

  9. #9
    Normal User
    Join Date
    Aug 2012
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    21
    Rep Power
    5
    Debug log is clean.

    Code:
    useitemonitem("branch", ground(32062, 32271, 7), ground(32062, 32272, 7))
    It is for Tutorial Quest, Mision with branch. I used version without space in coordinates but it doesn't work.

    OFC posz and posz2 is the same, I just did an example.
    Last edited by Scross; 12-31-2013 at 01:33 PM.

  10. #10
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    I dont know if it is possible, but try it:
    Lua Code:
    useitemon("branch", 32062, 32272, 7)

Posting Permissions

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