[Resolved]Image to labels in Developer Help
|
|
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) 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?
|
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.