Problem description:
jus need to know how to change the words/picture on a label so i can make a multiple choice story game that i've been working on a while
(p.s no 'cant do this' responses please lol)
To change the image on a label you would use:
winset(src or usr,"windowname.labelname","image='[yourfile]'") Where "yourfile" is you need to have the path to the file on your machine unless it's in your project folder somewhere. |
^That's actually better. :P (Just don't keep src or usr in there. Use the proper one).
|
Just like Dariuc stated above. This also can go for text too...
winset(src or usr,"windowname.labelname","text=typehere") |
Hint: If you want the label to be movable by the player then make a new "Window" and put the label in that separate window, leaving a small space up top where the label does not touch. Basically, make the window itself visible to the user because clicking the label itself won't move the Window but clicking a Window "without a pane" (Meaning you'll have to remove the pane also) will allow a player to move it by clicking the spot the label does not touch.
Once you have done the above then just use winset to show it as visible or invisible or you can have it invisible at all times by double clicking the window itself and checking the box "visible".
If I complicated this explanation I can show pictures. However, try to understand it first before making me create screenshots. xD I'm running BYOND on a virtual machine with a laptop.. Screenshots aren't easy to make. :P