[ NPC ] Talking npc

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

[ NPC ] Talking npc

Postby Eudes » Wed Sep 04, 2013 6:13 am

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.
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: [ NPC ] Talking npc

Postby Graveen » Wed Sep 04, 2013 2:10 pm

Hello Eudes,

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

Bookmark this article ! :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12661
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: [ NPC ] Talking npc

Postby Eudes » Wed Sep 04, 2013 3:22 pm

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 :)
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: [ NPC ] Talking npc

Postby Kataract » Tue Sep 10, 2013 10:54 am

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 ;)
Pour aller de l'avant, il faut prendre du recul
Car prendre du recul, c'est prendre de l'élan
Kataract
Server Representative
 
Posts: 116
Joined: Fri Jul 22, 2011 6:01 pm

Re: [ NPC ] Talking npc

Postby Eudes » Wed Sep 11, 2013 4:31 am

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
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests