Character change name

Started by , Thu 01/01/2004 20:27:33

Previous topic - Next topic

Marco

I' d like to change a full name of a NPC.
when I pass my mouse hover him appear in the status bar the name "Unknow" cause his full name is "Unknow".
When the player talk to him he say his name so I want to change his full name from "Unknow" to "HIS NAME"
How can I do.

Sorry for my English!!!!

Scorpiorus

So what if you change his Full name to HIS NAME in the Characters Editor panel?

Marco

Quote from: Scorpiorus on Thu 01/01/2004 20:33:14
So what if you change his Full name to HIS NAME in the Characters Editor panel?

I first want his name as "UNKNOW" and then "HIS NAME". I want to change his full name with a script and not with the Editor Panel

Scorpiorus

Then:

StrCopy(character[NPC_SCRIPT_NAME].name, "HIS NAME");

~Cheers

Marco


SMF spam blocked by CleanTalk