05-17-2012, 01:00 AM
Para pegar o item, use este macro abaixo:
Mude apenas o ID_UH pelo Id da UH.
Anti Push:
Mude o ID_ARROW e o ID_GOLD pelos seus respectivos Id's.
Code:
200 {PushMax EDITABLE} VarSetEx(ID, ID_UH) 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!)
Mude apenas o ID_UH pelo Id da UH.
Anti Push:
Code:
200 {Anti Push} VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z Map.HasID(ID_ARROW, !X!, !Y!, !Z!)<>1 Map.Thrown(ID_ARROW, 2, !X!, !Y!, !Z!)<>1 Map.HasID(ID_GOLD, !X!, !Y!, !Z!)<>1 Map.Thrown(ID_GOLD, 2, !X!, !Y!, !Z!)<>1
Mude o ID_ARROW e o ID_GOLD pelos seus respectivos Id's.