There's an item on the ground, let's say ID 2649, which I want to use on another position on the ground.
Lua Code:useitemonitem(2649, ground(posx,posy,posz), ground(posx+1,posy,posz))
The above does not work.
If you doubt me, then try using a mana potion or any other item FROM ground TO ground. If you manage to do it, then tell me what's your code.
An alternative I'm trying is to use the waypoint "Use" on the item on the ground, which simulates a right-click and makes your mouse a "crosshair" with the item ready to use, but it's not possible to do a left-click, otherwise I could make this work. Or is it? Any idea how I can emulate a left-click on the ground?