ID:157761
 
I'm currently making a hotkey system, but by the time the client start draggin the obj, I wanted to change client.mouse_pointer_icon to the obj icons, but, in my game, all "Techs" are on the same .dmi file, which means I would have to change the mouse pointer icon icon_state, and I can't do that

Is there any way around?
Check out the icon() proc. Also, the mouse_drag_pointer var is better suited for this task.
Not sure of this helps but it gets you into the same .dmi file.

    var/icon/I = new("Icons/Techs.dmi", "Research");
src.client.mouse_pointer_icon = I


ts
In response to Mega fart cannon
Thank you both, it worked