changing the name of a character

Started by Skio, Fri 21/05/2004 21:15:55

Previous topic - Next topic

Skio

Can I dynamically change the full name of the character?

EXAMPLE: Player points on a character and the status bar reads MAN.
Player talks to MAN and asks his name. When he points to the character again, the status bar reads the name instead of MAN.

NOTE: I have tried to use the "character[player].name=..." variable inside an interaction event but I got no effect.
Did I used it wrong?
Î'νδρων Επιφανων Πασα Î"η ΤαφοÏ,

Scorpiorus

Make a use of a StrCopy() function:

StrCopy(character[player].name, "his new name");

TerranRich

This function must be used to set all strings to a value. NEVER use the "=" command.
Status: Trying to come up with some ideas...

Skio

Î'νδρων Επιφανων Πασα Î"η ΤαφοÏ,

SMF spam blocked by CleanTalk