User names

Started by | Bass |, Tue 23/11/2004 04:12:50

Previous topic - Next topic

| Bass |

I use to use ags alot, but i've gotten away from it.  But now that im starting another game, i forgot how to use a "user" name in speech.  I use a GUI with a textbox at the start, so the user can input his/her name.  but now, in the 'training' section (and other sections) i need the name that the user typed into the textbox, to be part of the speech.  I've done it before, but i totally forgot how to do it  ::).  I think the original way I did it involved the GetTextBoxText command, but thats all i remember.  Thanks in advance

-Bass
For now, this is were I get off...

Previously BassFisherman

Phemar


string name;
InputBox ("What is your name?", name);
Display ("So, your name is %s, name);

It's in the manual.

| Bass |

lol..sorry about that...thats an easier way then the first time i did it...Thanks alot :=
For now, this is were I get off...

Previously BassFisherman

SMF spam blocked by CleanTalk