Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro pegar itens ao seu redor
#2
Para pegar o item, use este macro abaixo:
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.


Messages In This Thread
Macro pegar itens ao seu redor - by the angels - 05-17-2012, 12:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)