ID:139981
 
Code:
verb/Change()
winset(src,"default","output1.image='pic.bmp'")


Problem description:
When I run the verb the background doesn't change.
From what i can gather you are changing the output box named output1 in the window default attempting to change it to pic.bmp.

mob/verb/Change()
winset(src,null,"output1.image=['pic.png']")

Dont use BMP's for any reason only PNG's.


--second ver--
mob/verb/Change()
winset(src,"default.output1","image=['pic.png']")

The above one is the way your meant to type what you originally wanted to do in the first place.

I advice looking at the reference guide at winset - http://www.byond.com/ members/?command=reference&path=proc%2Fwinset#comment_1 - and the params guide - http://www.byond.com/docs/ref/skinparams.html -



EDIT2: Furthermore that will make the image tile if you want to make it so it doesnt tile i suggest you read the params guide because im not going to make your interface for you ^_^
In response to Midgetbuster
Can I set the background image of an output to an image object?
In response to Lcooper
Don't Hijack someone elses thread, But define what you mean? i cant interpret what your trying to say
In response to Midgetbuster
I mean:
var/image/img = new
winset(src, null, "default.output.image=[img]")

Or something like that