Changing name on characrters and hotspots

Started by Mats Berglinn, Thu 16/12/2004 11:15:56

Previous topic - Next topic

Mats Berglinn

I feel pretty stupid for asking this question but how do you change name of characters, hotspots, objects and inventory?

For example I talk to a sailor and when I do I get to know that his name is Roger Saymore. When the conversation is over I want the name in the statusline to change from "sailor" to Roger Saymore.

I have checked the manual but can't find it.

SSH

#1
StrCopy(character[SAILOR].name, "Roger Saymore");

SetInvItemName(5, "cup of tea");

but I don't think you can for HS or Objects, but that may change in the 2.7 beta

(You had misspelled StrCopy. I also added some extra sample code to SetInvItemName. Hope you don't mind! )
12

TerranRich

Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk