Teleport to a specific location

Ask for help

Moderators: Murderator+, Murderator

Post Reply
supimpa
Posts: 4
Joined: 2004-10-17 14:02:04

Teleport to a specific location

Post by supimpa »

i would like to know how i can set a hotkey to cast the spell teleport into a specific tile.
GrayLord
Expert!
Posts: 333
Joined: 2004-06-04 03:24:25
Contact:

Re: Teleport to a specific location

Post by GrayLord »

supimpa wrote:i would like to know how i can set a hotkey to cast the spell teleport into a specific tile.

Code: Select all

uo.waittargettile(tilenum,x,y,z)
uo.cast("Teleport")

where:
x,y,z - coordinates
and tilenum - number of that tile, where do you needed to teleport.
for example, if x=100, y=150, z=3, and tilenum=6040, then
in hotkeys you may set:
waittargettile 6040 100 150 3 ; cast 'Teleport'
supimpa
Posts: 4
Joined: 2004-10-17 14:02:04

Post by supimpa »

got it... thanks...
Post Reply