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

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

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

Postby whornak » 03 May 2012, 23:38

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: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

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

Postby Bax » 04 May 2012, 09:20

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

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 18 guests