Custom Made Games, how do I do it?

Started by rtf, Wed 03/03/2004 01:34:02

Previous topic - Next topic

rtf

OK, here we go...

What should I put in my scripts if I want to have a game where you can name your main character whatever you want?

I see a dialog box in the bigginning saying "What is your name?"

And whenever the player character's name is said during the game, it's the name you enter in the box.  Get it?

Thanks
I fail at art.

Ishmael

character[EGO].name global variable, if I'm not mistaken...

string plrname;
InputBox(plrname, "What's your name?");
StrCopy(character[EGO].name,plrname); // not sure if the parameters are rightways here, but if it won't work flip them.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

SMF spam blocked by CleanTalk