I was wondering if it is possible to change a character's displayed name (not death variable) by means of a dialogue? I've tried like this.
IF ~~ THEN BEGIN change1
SAY ~What must I do?~
IF ~Name("David","b#char")~ THEN REPLY ~Change your name~ GOTO change2
END
IF ~~ THEN BEGIN change2
SAY ~OK~
IF ~~ THEN DO ~ChangeName("Michael")~ EXIT
END
When I do it like this then I don't even get the option to make the "Change your name" reply. I've looked through NI, and Name and ChangeName are the only trigger and action I could find that seem appropriate.
Can anyone help?
Thanx
Changing the name of a character
Started by
-Moonfruit-
, Jun 28 2003 10:38 PM
6 replies to this topic
#1 -Moonfruit-
Posted 28 June 2003 - 10:38 PM
#2
Posted 29 June 2003 - 12:26 AM
Try doing it via a script triggered spell.
The great wolf Fenrir gapes ever at the dwelling of the gods.
#3 -Sim-
Posted 29 June 2003 - 02:15 AM
Name and ChangeName refer to death variable, not displayed name. CharName trigger refers to displayed name, but I'm not aware of any corresponding action.
#4 -Moonfruit-
Posted 29 June 2003 - 04:04 AM
Thanx. This solved the problem.Try doing it via a script triggered spell.
Is is possible to also change a character's biography in this way? I looked, but couldn't find a command for it.
#5 -Sim-
Posted 29 June 2003 - 04:34 AM
A character biography can be changed via script, using SetPlayerSound(O:Object*,I:STRREF*,BIOGRAPHY).
#6 -Moonfruit-
Posted 29 June 2003 - 05:42 AM
When I try this I get an error upon compilation:A character biography can be changed via script, using SetPlayerSound(O:Object*,I:STRREF*,BIOGRAPHY).
BIOGRAPHY not found in [SNDSLOT.IDS]
I checked through all the ids files, but couldn't find anything for biography.
#7 -Moonfruit-
Posted 29 June 2003 - 05:55 AM
Never mind, I found the problem.
Seems that the game reads the BIOGRAPHY field as EXISTANCE5.
Seems that the game reads the BIOGRAPHY field as EXISTANCE5.