Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move/Throw Items from SQ
#5
(06-03-2017, 12:56 AM)iNG Wrote:
(06-01-2017, 06:05 AM)Catar Wrote: Now you can use Disintegrate rune on these spots if they are covered in items.


and let me guess,

Hexera Engran?

do you have the macro as the Map.useon dont work for me for some reason

noo, for disintegrate rune, you can use now automated macro to check if your character is 1 sqm near these place(or places)
Self.PositionIn(X1, Y1, Z1, X2, Y2, Z2) [b] x1 y1 is for North West (-1) from trap SQM and x2 y2 is South East (+1) from trap sqm)[b]

Then one to see if there is are trash on certain SQM by checking number of items on that sqm
Map.ItemsOnTile(X, Y, Z)>=2

and if there are more than 2 ID, to check if there is only Floor ID which u would have to check yourself what it is to compare.
So if there is something besides clear floor or possibly another creature/player (99), you make it to use disinerate rune on this item

whatONtop:=Map.ItemOnTop.ID(X, Y, Z)
!whatONtop!<>!idOFclearFLOOR [DIS]
!whatONtop!<>99 (this is item ID of player) [DIS]
Map.UseOn(3197, !whatONtop!, X, Y, Z, 1)


So macro would look like this, you can also extend this macro when either of conditions is failse [DIS1] {DIS1}
[spoiler]

Code:
Self.PositionIn(X1, Y1, Z1, X2, Y2, Z2)==:True [DIS1]
Map.ItemsOnTile(X, Y, Z)>=2 [DIS1]
whatONtop:=Map.ItemOnTop.ID(X, Y, Z)
!whatONtop!<>!idOFclearFLOOR  [DIS1]
!whatONtop!<>99 [DIS1]
Self.Stop()
Map.UseOn(3197, !whatONtop!, X, Y, Z, 1)
Exit()
{DIS1}

Here you can extend it for another SQM

Self.PositionIn(X1, Y1, Z1, X2, Y2, Z2)==:True [DIS2]
Map.ItemsOnTile(X, Y, Z)>=2 [DIS2]
whatONtop:=Map.ItemOnTop.ID(X, Y, Z)
!whatONtop!<>!idOFclearFLOOR  [DIS2]
!whatONtop!<>99 [DIS2]
Self.Stop()
Map.UseOn(3197, !whatONtop!, X, Y, Z, 1)
Exit()
{DIS2}

and another one

[/spoiler]
I am not gonna do it all for yourself, you need to get positions and clear floor ID by yourself.
Reply


Messages In This Thread
Move/Throw Items from SQ - by iNG - 06-01-2017, 12:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)