Outputting text to a label in an interface file
|
|
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
|