ID:262226
 
Code:
        updateInv(var/mob/M)
var/list/screen_inv=new()

if(M.contents.len>9)
screen_inv.Add(e,w)

var/i = sinv_start;var/j=2
var/obj/temp
if(M.contents.len<1)
return
do
temp = M.contents[i]
temp.screen_loc = "[j],1"
temp.mouse_over_pointer = MOUSE_ACTIVE_POINTER
temp.mouse_drag_pointer = MOUSE_ACTIVE_POINTER
temp.mouse_drop_pointer = MOUSE_ACTIVE_POINTER
screen_inv.Add(temp)
j++
i++
if(i>M.contents.len)
i=1
while( (j<=10) && (i!=sinv_start) )

M.client.screen = screen_inv


Problem description:

This does put the inventory up as icons across the bottom of the map, but the mouse pointer doesn't change when it's over the icon, or when dragging one of the icons at the bottom of the screen. Does anyone know why the mouse pointers don't work and/or how to get them to work? (I tried setting the mouse pointers in te objects themselves, which works while the object is lying around, but not when it's in the inventory.)
Sorry to bump, but is this maybe a bug with BYOND? Cuz no one is answering me!