BBot - The best bot of the world
MOVE 1 SQM TO NORTH - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: MOVE 1 SQM TO NORTH (/thread-2160.html)



MOVE 1 SQM TO NORTH - shurtup - 03-26-2012

Im standing at my door`s house. and im making runes.
but im red skull.
so... i want to move my char 1 sqm to inside of the house if attaked by player.
is there any way to do it?
plz?


RE: MOVE 1 SQM TO NORTH - antharaz - 03-26-2012

Code:
1000 {red na casa} Self.Health <> Self.HealthMax Self.MoveTo(1, 1, 1)

Put yours coordenades at (1,1,1). I did this way because you can be pushed before an attack and go 1 sqm to north won't be the soluction.

To get your coordenade:

Code:
500 {Tibia GPS} X:=Self.X Y:=Self.Y Z:=Self.Z HUD.Setup(3, 1, 255, 255, 255) HUD.Display(!X! !Y! !Z!)

The last one was made by upking


RE: MOVE 1 SQM TO NORTH - shurtup - 03-26-2012

(03-26-2012, 12:19 AM)antharaz Wrote:
Code:
1000 {red na casa} Self.Health <> Self.HealthMax Self.MoveTo(1, 1, 1)

Put yours coordenades at (1,1,1). I did this way because you can be pushed before an attack and go 1 sqm to north won't be the soluction.

To get your coordenade:

Code:
500 {Tibia GPS} X:=Self.X Y:=Self.Y Z:=Self.Z HUD.Setup(3, 1, 255, 255, 255) HUD.Display(!X! !Y! !Z!)

The last one was made by upking

Thanks bro!