ID:145529
 
Code:
    MouseDown(location,icon_x,icon_y)
src.mouse_drag_pointer=src.icon_state
src.OrigIcon=src.icon_state
..()
MouseDrag(over_object,src_location,over_location)
if(src.pcolor != usr.color)
usr<<"<b>You are not that color!</b>"
return()
src.loc=over_location
src.icon_state=src.OrigIcon


Problem description:
at first this changed my cursor...now it doesnt, did i change or delete something without knowing it... it looks fine to me but when i grag the icon, my cursor should but doesnt change to the obj

edit:::SEMI RESLOVED

    MouseDown(location,icon_x,icon_y)
src.mouse_drag_pointer=src
src.OrigIcon=src.icon_state
..()
MouseDrag(over_object,src_location,over_location)
if(src.pcolor != usr.color)
usr<<"<b>You are not that color!</b>"
return()
src.loc=over_location
src.icon_state=src.OrigIcon


i for goet that i took out icon states...so know it shows the main icon, not the /image that iwant it to show but right now its better than nothing

You don't set mouse_drag_pointer to an icon_state, but to an entire icon. If you want to set it to a specific icon and state, then I suggest getting that ready in advance or using /icon to create it then caching the result.

Lummox JR
In response to Lummox JR
thank you, but i already figured it out... it did work with icon states tho, but i happened to take out all my icons from icon states and turned them into their own icons thats why it stopped working...