Can you help me whit a macro for Teleport?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Arthur
Posts: 11
Joined: 2004-08-20 11:02:35

Can you help me whit a macro for Teleport?

Post 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....
LeiTZ
Posts: 4
Joined: 2004-08-06 08:55:57

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

Post 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
Dmitrij
Posts: 14
Joined: 2004-08-13 00:00:02

Post 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")))
Arthur
Posts: 11
Joined: 2004-08-20 11:02:35

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

Post 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
Post Reply