Page 1 of 1

Can you help me whit a macro for Teleport?

Posted: 2004-08-20 11:06:50
by Arthur
hi, i make a script for teleport a roof i use tile but not work i used a lasttile and work say ,infotile lasttile and say this
1447 2248 1208 20 and make this macro


sub teleport()
uo.waittargettile("1447",str(uo.getx("2248")),str(uo.gety("1208")),str(uo.getz("20")))
uo.cast("Teleport")
end sub

but not Teleport in this tile... teleport on me now local....

Re: Can you help me whit a macro for Teleport?

Posted: 2004-08-20 12:20:41
by LeiTZ
Arthur wrote:hi, i make a script for teleport a roof i use tile but not work i used a lasttile and work say ,infotile lasttile and say this
1447 2248 1208 20 and make this macro


sub teleport()
uo.waittargettile("1447",str(uo.getx("2248")),str(uo.gety("1208")),str(uo.getz("20")))
uo.cast("Teleport")
end sub

but not Teleport in this tile... teleport on me now local....


hi, use this:

sub teleport()
uo.waittargettile("1447","2248",1208","20")
uo.cast("Teleport")
end sub

Posted: 2004-08-20 12:30:19
by Dmitrij
If you want to set relative position of any object:

Code: Select all

UO.WaitTargetTile("1447",Str(UO.GetX("object_id")),Str(UO.GetY("object_id")),Str(UO.GetZ("object_id")))

Re: Can you help me whit a macro for Teleport?

Posted: 2004-08-20 13:21:04
by Arthur
LeiTZ wrote:
Arthur wrote:hi, i make a script for teleport a roof i use tile but not work i used a lasttile and work say ,infotile lasttile and say this
1447 2248 1208 20 and make this macro


sub teleport()
uo.waittargettile("1447",str(uo.getx("2248")),str(uo.gety("1208")),str(uo.getz("20")))
uo.cast("Teleport")
end sub

but not Teleport in this tile... teleport on me now local....


hi, use this:

sub teleport()
uo.waittargettile("1447","2248",1208","20")
uo.cast("Teleport")
end sub


thanks work =)

and for another not a object is a roof statics not can ,addobject :S