• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Teleport to crosshair (item or rune)

Tufte

Active Member
Joined
Nov 19, 2007
Messages
652
Reaction score
25
Location
Norway
Hi, I'm trying to make an item/rune that teleports me to the area that I've clicked. With actions, I can't do it because it wont execute the script before im next to the position I clicked.

I figured I could do it with a rune, but how do I access the the coordinates to the position I've targeted?

Thanks in advance
 
In the actions.xml add this: allowfaruse="1"
An example would be:
Code:
<action itemid="2554" event="script" value="tools/shovel.lua" allowfaruse="1"/>
This would allow you to dig a hole with a shovel from far away.
 
thanks! ive been gone from the ot community for 4 years, gotta say you guys are extremely helpful. cant remember getting this much and this fast support before.
 
Back
Top