Editing The Character History AFTER The Character Is Created
#1
Posté 12 septembre 2010 - 12:43
I was wondering if anyone here knows about the script that allows you to edit your character description in a Persistent World AFTER you have created your character? I know of two servers that use such a script: Savage Eden (social) and World of Harry Potter (persistent world). The problem is, as I am not a scripter, I have no idea how that is implemented. I have sent a message to the host of one of those servers, but I do not know if I will receive an answer. I have tried looking on the NWN.Bioware.com forums, as well as NWVault.IGN.com, but I found nothing. I do not believe I was looking for it in the right fashion. If anyone here can assist me, it would be greatly appreciated.
mozeNWrathe
#2
Posté 12 septembre 2010 - 01:01
There is a nice little example of how they are used in the SetDescription entry in the Lexicon.
Hope that helps!
#3
Posté 12 septembre 2010 - 01:08
this page seems to only be available in the downloadable NWN Lexicon and not on the online version :-
Modifié par kenween, 12 septembre 2010 - 01:15 .
#4
Posté 13 septembre 2010 - 12:06
#5
Posté 13 septembre 2010 - 12:55
If (as you say) you expect you will not get a response from the server admins, then having someone here write the script for you won't do you any good anyway. This script would almost certainly need to be run on the server and not on your local machine in order for it to affect your character on that server.
Modifié par Invisig0th, 13 septembre 2010 - 01:03 .
#6
Posté 13 septembre 2010 - 01:54
#include "x3_inc_string"
/////////////////////////////////////////////////////////////////////////
void main()
{
string sMessage = GetPCChatMessage();
object oSpeaker = GetPCChatSpeaker();
string sCheck = GetStringLeft(sMessage, 18);
if (sCheck == "!SetMyDescription:")
{
string sParse = StringParse(sMessage, ":");
string sDescription = StringRemoveParsed(sMessage, sParse, ":");
SetDescription(oSpeaker, sDescription);
DelayCommand(0.1, SendMessageToPC(oSpeaker, "Your BIO has been updated."));
}
}
Again this is just an example. You could change up the chat check to something more simple if needed. Keep in mind that the chat channel is limited to a certain amount of characters before it wont let you type anymore. So if someone wanted a really long bio then you would need to add more commands/chat checks to keep adding more onto the current description.
Good Luck.
Modifié par GhostOfGod, 13 septembre 2010 - 01:55 .





Retour en haut







