ID:410292
 
(See the best response by A.T.H.K.)
Alright, so I wanted to know if anyone could help me with something. I wanted to know how to create a window that pops up, with text in it, after you talk to an NPC. So like, If I were to click an NPC to talk to them, the window pops up... Anyone know how?
Thanks in advance!
Best response
Sure!

Look up winset and output.

mob
verb
test()
src << output(null,"dialog.label")//clear the labels text
src << output("NPC NAME John","dialog.label")//write something in a label
src << output("John says : sdfsdfsdfsdfsdf","dialog.output")//write something in a label
winset(src, "dialog", "is-visible=true")


Image and video hosting by TinyPic

Make sure the dialog (yes spelt wrong for a reason) window is not visible.

And also look up the many many tutorials on this kind of thing...
WOW thank you sooo much!!! One more question, there is no text in it when it pops up, is that because the output is null?
Make sure the dialog.label and dialog.output are actually named that on the interface.

Image and video hosting by TinyPic
So label1 would be just label*