Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BBot 82.5
#1
Hello guys,

Quote:Version 82.5
+ Tibia 10.94 items (thanks Catar, for helping me)
+ [macro] Map.ItemsOnTile(X, Y, Z)
+ [macro] Map.Item.ID(X, Y, Z, Index)
+ [macro] Map.Item.Count(X, Y, Z, Index)
+ [macro] Map.ItemOnTop.ID(X, Y, Z)
+ [macro] Map.ItemOnTop.Count(X, Y, Z)
+ [macro] Map.CreatureOnTop.ID(X, Y, Z)
* Fixed FullCheck for Advanced Attack Wavers


Playing with maps
Code:
0 {Play With Map}
Index:=0
Items:=Map.ItemsOnTile(:X, :Y, :Z)

{ReadItemAgain}
ID:=Map.Item.ID(:X, :Y, :Z, !Index)
Count:=Map.Item.Count(:X, :Y, :Z, !Index)
Debug.Log(:X :Y :Z Index=!Index ID=!ID Count=!Count)

!Index<!Items [Leave]
VarAdd(Index, 1)
GoLabel(ReadItemAgain)
{Leave}
                          
ItemOnTopID:=Map.ItemOnTop.ID(:X, :Y, :Z)
ItemOnTopCount:=Map.ItemOnTop.Count(:X, :Y, :Z)
CreatureOnTop:=Map.CreatureOnTop.ID(:X, :Y, :Z)

Debug.Log(On Top ID=!ItemOnTopID Count=!ItemOnTopCount Creature=!CreatureOnTop)
Reply


Messages In This Thread
BBot 82.5 - by MegaNo0body - 05-23-2017, 02:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)