I may be missing something, so if there is already a smooth way to do this, please let me know.
For a game where objects are draggable, it's nice to have the cursor change into same icon as the dragged object (with the same icon_state and overlays as well). The only way I can see to do this is to set the mouse_drag_pointer for each object. There are two problems with this:
1. Explicitly setting a mouse_drag_pointer for an object means that the complete icon for that pointer is saved with the object in any save file you use. This greatly increases the size (and load time) of save files.
2. Last I used this (319) it was bugged in that very often you could not set the pointer if it had already been set. In other words, set it once, and you can't change it later.
I would love it if there were a simple flag to set to make the mouse_drag_pointer mimic the object, without setting it explicitely. Either that, or add a new built-in pointer value that will mean "take on the icon+state of the attached object."
Copyright © 2015 BYOND. All rights reserved.