verb/Change()
winset(src,"default","output1.image='pic.bmp'")
Problem description:
When I run the verb the background doesn't change.
ID:139981
Jun 26 2010, 5:20 pm
|
|
Code:
verb/Change() Problem description: When I run the verb the background doesn't change. |
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 |
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 ^_^