Page 1 of 1

[ NPC ] Talking npc

PostPosted: Wed Sep 04, 2013 6:13 am
by Eudes
Hello DoL!

I'm looking about how to make a npc talking when interacting with him? Just a single sentence, nothing like a quest.

1. The player select the npc
2. The npc says "hey, do not enter here!"
3. End of the story

It is not something I can do with a Mob Ambient Behavior I guess? It is not something I should do like a quest I'm sure. Is there any other way to make the npc just talking?

There was a script for the Amtenael server, making npc talk, but it is not compatible with NPCTemplate.

Thanks, have a nice day.

Re: [ NPC ] Talking npc

PostPosted: Wed Sep 04, 2013 2:10 pm
by Graveen
Hello Eudes,

MAB is normally working fine : http://www.dolserver.net/articles/?article=45

Bookmark this article ! :)

Re: [ NPC ] Talking npc

PostPosted: Wed Sep 04, 2013 3:22 pm
by Eudes
Damn it! I did not remember that point:
interact => Quand le mob interagit avec le joueur (marchand par exemple => /mob peace est forcément à true)
Sorry, the solution was too obvious.

Thanks Graveen :)

Re: [ NPC ] Talking npc

PostPosted: Tue Sep 10, 2013 10:54 am
by Kataract
Hi !

If you want to make a npc that says more sentences when clicking in his dialog, you can create a custom scripts !
For example : Hi, want to [know] more about me ?
--> When you select [know], the npc will say more things.

If you want this script, i could give you one that i created when i'am at home ;)

Re: [ NPC ] Talking npc

PostPosted: Wed Sep 11, 2013 4:31 am
by Eudes
Hi Kataract,

I was looking for a single sentence, like a Mob Ambiant Behavior. But having a short dialog can be usefull too, I would appreciate your script of course :)

Thanks