Topic is locked.
Page: << 1 >>
Npc Talking
Author Message
Post #181294 Npc Talking

Can someone Help me how to let NPC talk and have an NPC like WISE MAN. 

---
Mapper/Gui Maker/Gui Enhncer/[Practicing Pixelling]
Nivra Online V.1 is Comming Soon! <3
Nivra Productions
13 years, 23 weeks ago
Post #181296 Re: Npc Talking


Wise man talks when someone clicks on him I think.. But here's the part where you can edit what he says..


State Begin
{
        desc            "Talk to Wise Man"
        action          AddNpcChat( 4 , "Hellow stranger");
        action          AddNpcText( 4 , "Hellow stranger, what can i do for you?" );
  
 action          AddNpcInput( 4 , 1 , "Karma menu");
        action          AddNpcInput( 4 , 2 , "Class menu");
  
        rule            InputNpc( 1 ) goto Karma
        rule            InputNpc( 2 ) goto Class
}

13 years, 23 weeks ago
Post #181365 Re: Npc Talking

I wanna know about like i put the NPC in map then click NPC.ini. what will i type there? so they will talk like the sheep "Bahhh" like the adventurer in starting map he talks alot 

# (npcid).interval = (id)

# (npcid).frequency = (id)

# (npcid).chat[id] = (message)

i have that and i dont know how to edit it

---
Mapper/Gui Maker/Gui Enhncer/[Practicing Pixelling]
Nivra Online V.1 is Comming Soon! <3
Nivra Productions
13 years, 23 weeks ago
Post #181548 Re: Npc Talking
JOLINO posted: (14th Jan 2013, 10:43 am)

I wanna know about like i put the NPC in map then click NPC.ini. what will i type there? so they will talk like the sheep "Bahhh" like the adventurer in starting map he talks alot 

# (npcid).interval = (id)

# (npcid).frequency = (id)

# (npcid).chat[id] = (message)

i have that and i dont know how to edit it


166.interval = 100 <-- Keep that at 100

166.frequency = 45  <--- Time in seconds for when he talks

166.chat1 = Message   <----- Wise man message goes here


and if you want another one for a different npc do this

NpcIDgoeshere.interval = 100

NpcIDgoeshere.frequency = 45

NpcIDgoeshere.chat2 = Message

13 years, 23 weeks ago
Page: << 1 >>
Topic is locked.