Suggestion: SetCharacterName, SetObjectName

Started by SSH, Fri 04/06/2004 14:38:05

Previous topic - Next topic

SSH

Since, often in a game, you don't know someone's name when you first meet them  and then discover it suring a conversation tree, it would be nice to change a character's name at runtime. Less importantly, the same with objects (and hostpots) too. It would be reasonable enough to have the restriction that the new name must be shorter than the old name...

So "Old man at souvenier stand" can become "Mr McGonagal" once his name is discovered in conversation and "Mysterious-looking object" can become "Flux Recombobulator" once the scientist explains its use...

OK you can script around it, but adding lots of exceptions to you status bar/action bar/tooltip script is a pain and a half...
12

strazer

Setting character names is easy:

function SetCharacterName(int charid, string newname) { StrCopy(character[charid].name, newname); }

but I agree it would be nice to be able to do the same for objects and hotspots.

SSH

12

strazer

Phew, I was worried I misunderstood the problem again... ;D

Pumaman

I won't add a SetCharacterName command, sinc eit's so easy to script your own. I'll add SetObjectName to my to-do list, however.

SMF spam blocked by CleanTalk