Lizard Helper
New Member
- Joined
- Apr 24, 2010
- Messages
- 10
- Reaction score
- 2
Alright; I know how to make things teleport through lua scripts. What I'm trying to do is find out how magic forcefields work. I've looked around in actions movements and items, but I can't seem to figure this out - when you map a forcefield, you can give it coordinates to teleport to. But where are they stored?
The reason is I want to find out if that property can be given to any item. Say I have an amulet with actionId 1234. Using the /attr talkAction, can I edit the place it would go? Just like the forcefield. Just to be clear; I don't mean scripting the destination, I mean giving each individual item a set of coordinates, and for the script to get those coordinates from the item and take you there.
Is this possible?
The reason is I want to find out if that property can be given to any item. Say I have an amulet with actionId 1234. Using the /attr talkAction, can I edit the place it would go? Just like the forcefield. Just to be clear; I don't mean scripting the destination, I mean giving each individual item a set of coordinates, and for the script to get those coordinates from the item and take you there.
Is this possible?