Keeping track of a tile that is moved and not removed.
Keeping track of a tile that is moved and not removed.
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?
Re: Keeping track of a tile that is moved and not removed.
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.
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
The SmartFoxServer Team
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 18 guests