08-02-2018, 11:52 AM
(08-01-2018, 09:31 PM)Catar Wrote:Hi, I have a huge question about the macro command wiki here, let's suppose I get this in the macro_commands Self.PickUp.Armor (ID, X, Y, Z, Range), and want to get it to work, which I put on the X, Y, Z, RANGE?(08-01-2018, 07:34 PM)petersonzapa Wrote: worked out, thank you very much, the macros I tried were those
200 {PushMax EDITABLE} VarSetEx(ID, 3031) VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z VarSub(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(X, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)
I also used this one and it was not
ID:=3035
##
ID
OF
ITEM
ON
GROUND
X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarSub(Y, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarAdd(X, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarAdd(Y, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarAdd(Y, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarSub(X, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarSub(X, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarSub(Y, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1
VarSub(Y, 1)
Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)
Wtf is this crap, not even correct syntax, no wonder it didnt work
(did u find my "hidden" color macro?)