ID:154657
 
(See the best response by DarkCampainger.)
My intend was to have a space on the interface that would change into another image from joining a channel. For example
Having a picture of a tree for the forest, then you enter another location and a picture of a city appears. This is for a text base game. Thanks in advance.
Best response
You can change a label control's image via winset().

Here's a quick example:
// Choose the icon
var/icon/I = 'city.dmi'
// Update the label to show it
winset(src, "testLabel", "image=\"\ref[I]\"")


Replace "testLabel" with the ID of your label control.
In response to DarkCampainger
Thanks, again.

(edit)
One question, if the image is in the .rsc itself would I still need to send the icon to the player's cache?
In response to AllSmiles
AllSmiles wrote:
Thanks, again.

(edit)
One question, if the image is in the .rsc itself would I still need to send the icon to the player's cache?

Nope. I just checked on my second machine. Works fine without it if the icons are packaged in the RSC. I'll edit my answer.
In response to DarkCampainger
Ok, thank you for confirming