Keeping track of a tile that is moved and not removed.

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
whornak
Posts: 86
Joined: 22 Sep 2009, 11:05

Keeping track of a tile that is moved and not removed.

Post by whornak »

I have some dependencies on the movement of a tile from one location to another but all that I can find is OpenSpaceEvent.MAP_ITEM_REMOVED in relation to this action. Is there a way to know if a tile is moved but not really removed and from what location it was moved from?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Keeping track of a tile that is moved and not removed.

Post by Bax »

No, this is not possible. From the OpenSpace point of view, as soon as you start dragging a tile, it is considered to be removed.
I'm not sure if there's a way to get the information you need by tracking the sequence of item removed and added on the map.
Paolo Bax
The SmartFoxServer Team
Post Reply