View Single Post
Old 05-28-2004, 01:11 PM   #6 (permalink)
Arya
 
Join Date: Mar 2003
Location: Near a lava pool
Age: 9
Posts: 1,012
Default

Quote:
Originally Posted by joantinet
Thanks Arya this is so cool. I've been waiting for someone to script this in RunUO. Very nice not only for quests, also for RP Shards.

Is there any way to make the NPC mantain a conversation, and at the end of it respond to the "main" keyword? I mean, If I want the NPC to say where is a treasure, but I want my players to ask the NPC first about the legend of the world, about the ships that used to sail in sosaria's seas... and finally, when the NPC reaches the part of the history concerning treasures, when you say whatever+treasure she answers. I just dont want players to tell his friends the keyword, go there and get the location and stuff inmediately...

thanks in advance
You can achieve that, to an extent. Try this:

Entry 1:
Keywords: hail, hello, greetings, hi
Speech:
- Hello traveler, would you like to hear some legends of the old world?
Entry 2:
Keywords: yes, sure, legeng, of course
Speech:
[ A number of lines of speech mentioning a treasure on wyvern island ]
Entry 3
Keywords: treasure, wyvern
Speech:
[ Explain about the treasure ]

You can try to pilot a conversation like this. It would be acutually a nice idea to make the NPC follow the sequence of speech entries, so that you can have more control on what it says. Maybe I'll do this sometimes.

Keep in mind that you can add more than one keyword, and your players usually don't know which ones match. Also even if they probably realize they're talking to a NPC, they'll still use full sentences most likely.
__________________
Oxygen should be regarded as a drug.
Arya is offline