Server Totals
Wilderness - (2)
Ferrell - (1)
Elysia - (0)
Le'Or - (0)
M'Chek - (0)
Deglos - (0)
Visimontium - (0)
Underdark - (0)
Mikona - (0)
Total players: 3
Gallery
  • Elysia updates
    Album name: DM Events
    Uploaded by: Ronan
    Uploaded: Fri Jun 05, 2015 3:13 am

Links Menu

Listen Patterns

Moderators: Nighthawk4, Dungeon Masters

Listen Patterns

PostAuthor: Lafferty » Tue May 27, 2003 7:27 am

Is it possible to set up listen patterns for a NPC and you parse the text directed to him like: "<Name of NPC>: Hello" or "<Name of NPC>: Give me your money or you will die".

I started thinking about it but i doubt i can throw together a decent parser for this in nwscript. (I'd LOVE to have a Z-Machine within nwn.) That way we could actually speak to (important) npcs in a limited manner and even store things in the database from such conversations:

"<Name of NPC>: Hello, my name is <Name of PC>"

a few days later

NPC: "Hello, <Name of PC stored in the db>, how are you?"

you could save all stuff in the db like reputation of PC towards a group of people...

NPC: "Hey, <Name of PC stored in the db>! Get out of our city! we dont like you here"

...or even roll up if the NPC even remembers you...

"I know your face! What was your name again?"

that gives me another idea: What about discount from persistant merchants when you make transactions there often or "special offers" for regular customers/patrons
Tool for crafters Do you want some human to your salt? nomanisanisland.monolar.de
User avatar
Lafferty
Scholar
 
Posts: 1130
Joined: Tue Feb 11, 2003 5:08 pm
Location: look at my hands... they are HUGE. And they cant touch themselves...

Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Gorgon