ID:140127
 
Code:
mob
verb
StartNewGame()
GenerateCrewStat()
winshow(usr,"window1",1)
DeleteGame()
world << "You deleted your game!"

GenerateCrewStat()
var/Crew/m = new
m.Strength.Add(rand(30,70))
m.Speed.Add(rand(30,70))
m.Accuracy.Add(rand(30,70))
m.Courage.Add(rand(30,70))
m.Willpower.Add(rand(30,70))
m.Esper.Add(rand(30,70))
m.Intelligence.Add(rand(30,70))
winset(src, "window1.label1","Test")


Problem description:
Hi, I have seem to forgotten how to output text to a label in an interface file. I'm also needing to output the variables shown under GenerateCrewStat(). A quick reply would be great. The interface file is Face and the current windows in there are default and window1
winset(src,"label","text=\"HAI\"")
In response to Leur (#1)
Not working.
In response to Gamemakingdude (#2)
...? You did replace label with whatever the name of the label is right?
To display text in the label is by using text = "" however since it's already in a " " it becomes text=\" \".
Read more by pressing 'Help -> Skin Reference' in Dream Maker
In response to Leur (#3)
Thanks.
In response to Leur (#3)
I've been wondering how I'd do this. Thanks guys.