Ive been through two guides on how to do this and they both did not work for me.
Following the TBP guide book
(5.8.1 have a NPC remember a player from a previous conversation)
and Maximus's tutorial for conversations
http://nwvault.ign.c...s.Detail&id=226
I can not get this to work following these guides. Would someone please teach me how to do this?
NPC remember a player from a previous conversation
Débuté par
Skunkeen
, août 13 2010 06:06
#1
Posté 13 août 2010 - 06:06
#2
Posté 13 août 2010 - 06:29
Your conversation treeview should be the the highest response to the lowest. Meaning, the first time the NPC talks to the PC should be the last conversation in the tree.
+ Good to see you again
This requires a TEXT APPEARS script.
+ Well look what we have here. Someone new in town I see.
This requires an ACTIONS TAKEN script.
The ACTIONS TAKEN script would look along the lines of:
The TEXT APPEARS script would look along the lines of:
FP!
+ Good to see you again. (variable is equal to 1) [TEXT APPEARS SCRIPT]
+ Well look what we have here. Someone new in town I see. (variable is equal to 0) [ACTIONS TAKEN SCRIPT]
+ Good to see you again
This requires a TEXT APPEARS script.
+ Well look what we have here. Someone new in town I see.
This requires an ACTIONS TAKEN script.
The ACTIONS TAKEN script would look along the lines of:
void main()
{
// Set the variables
// We set the "metnpcabc" variable to equal 1 so we know the PC has spoken to the NPC
SetLocalInt(GetPCSpeaker(), "metnpcabc", 1);
}
The TEXT APPEARS script would look along the lines of:
int StartingConditional()
{
// Inspect local variables
// We check the "metnpcabc" variable to see if it equals 1 so we know if the PC has spoken to the NPC
if(!(GetLocalInt(GetPCSpeaker(), "metnpcabc") == 1))
return FALSE;
return TRUE;
}
FP!
#3
Posté 13 août 2010 - 09:15
Worked, Thank you Fester Pot
#4
Posté 14 août 2010 - 03:57
So I asume this is for a sp module, since for a PW it won't work. If in that situation you can use Vendalus PRR or an item with the npc's name and a variable set on that item to indicate they have talked before. Oh and saw your post in the old guild.
#5
Posté 14 août 2010 - 09:13
yes I had SP/MP in mind. no pw, checking out Vendalus's PPR system . thanks FFBJ
http://nwvault.ign.c....Detail&id=2400
http://nwvault.ign.c....Detail&id=2400
Modifié par Skunkeen, 14 août 2010 - 09:16 .





Retour en haut






