Posts ID:155240 Favorites Creations Medals
ID:155240

Alright, I got some help from Lige with this very situation the other day, but it seems I'm still doing it wrong.

I'm trying to show a preview of the player's character in a label.

 mob/verb/newchar() winset(src,"map_child", "left=char_creation") var icon/base_one=icon('tempbase.dmi',"",SOUTH,1,1)//stickfigure base_one_preview=fcopy_rsc(base_one) winset(src,null,"char_creation.base_label.image=\ref[base_one_preview]") 

It doesn't update the label or show the sprite's preview. I'm a serious interface noob. Any advice?
 #1 Aug 13 2011, 10:07 am I think your final winset is funky. winset(src,"char_creation.base_label","image = [base_one_preview]") I made the assumption that char_creation was the window ID and that base_label was the label you wanted to output to.
 #2 Aug 13 2011, 10:11 am In response to Lugia319 (#1) Thanks but still nothing...
 winset(src,"id","image=\ref['image.png']" 

I use this and it works just fine.
 #4 Aug 13 2011, 10:40 am In response to MDC (#3) Hey, thanks
 #5 Aug 13 2011, 10:43 am In response to Yusuke13 (#4) No problem :)