(09-09-2016, 08:45 PM)Eldogmariachi Wrote: How can i make this line of macro throw the item(2984) 1 SQM to the "east"(Any Direction) of my character?
2 {Example} X:=Self.X() Y:=Self.Y() Z:=Self.Z() Tibia.IsKeyDown(45)==1 Map.Thrown(2984, 1, !X!, !Y!, !Z!)
U can manipulate variables with basic math, like adding, substracting, multiplying and dividing.
If u want throw item 1 sqm to east you need to add 1 to the X
VarAdd(X, 1)
If u want to throw west, you need to substract 1 from X
VarSub(X, 1)
north would be Y+1
and south Y-1