Page 1 of 1

et User input text - or tricky thing of something like that

PostPosted: Sat Nov 18, 2006 1:42 pm
by Diana Kennedy
Hi all!

Well, Finishing my game, I would like to try the Following:


There is an actor with User can input text, where He can write his name into.

I would like another actor at the end of the game displaying the name (or whatever text the user typed into the Input-Actor.

What kind of script would that require?

I'm stuck here.

Easy.

PostPosted: Sun Nov 19, 2006 8:50 am
by kyensoftware
Easy.
Code: Select all
<namegoeshere>.text = <namegoeshere>.text


(In the text part that u normally enter text just say yes to user input on the first one!!)
:D :D

PostPosted: Sun Nov 19, 2006 12:24 pm
by Diana Kennedy
Well, it may be easy but I'm too dumb - i.e since I never dealt with the subject, I am not sure where to put the code? On what actor? and on what action? and "Namegoeshere" is this a place-holder for something I should name otherwise or is it what it actually has to be written? Sorry if I'm a noob, I need more step-by-step dummy-proof explanation. :)