Mindee-BOT

Mindee-BOT Community => Share => Scripting => Useful Parts => Topic started by: =Mindee= on March 08, 2020, 08:46:16 pm

Title: [TIP] Better way to talk to npcs.
Post by: =Mindee= on March 08, 2020, 08:46:16 pm
To go to npc, use:
Code: [Select]
if script.GoToNpcEx('Gorak'):
script.StatusMessage('Going to Gorak.')

Add these events to the script as well:
Code: [Select]
def onReachedNpc(uid, name):
if not script.TalkToNpc(uid):
script.StatusMessage('Can\'t talk to ' + name + '!')

def onTalkedWithNpc(uid, result):
if not result:
if not script.TalkToNpc(uid):
script.StatusMessage('Can\'t talk to ' + script.GetEntityName(uid) + '!')
Title: Re: [TIP] Better way to talk to npcs.
Post by: Ibrahim6alsayed on June 26, 2020, 09:48:48 pm
If i want talk to npc ! On my way on script G + D v.final
1- way to base. There a npc in the way i have to talk to him to send me on aurea without talk to him i cant leave the place or enter the place again on 27- way to hunt
Can you explain me how to do that ! I hope you understood me
Title: Re: [TIP] Better way to talk to npcs.
Post by: =Mindee= on June 26, 2020, 11:14:42 pm
Hello,

I don't know that quest, so I can't help.  [badpokerface]