Username: Password:

Author Topic: [TIP] Better way to talk to npcs.  (Read 2178 times)

Offline =Mindee=

  • Commander Shepard
  • BOT Developer Administrator
  • Dragon
  • *****
  • Posts: 2,788
  • Cookies 9020
  • We'll bang, OKAY?
    • View Profile
    • http://mindee-bot.com
[TIP] Better way to talk to npcs.
« 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 ' + name + '!')




Mindee-BOT creator, founder and developer.

Offline Ibrahim6alsayed

  • Bug
  • *
  • Posts: 7
  • Cookies 0
  • I love Mindee-BOT!
    • View Profile
Re: [TIP] Better way to talk to npcs.
« Reply #1 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

Offline =Mindee=

  • Commander Shepard
  • BOT Developer Administrator
  • Dragon
  • *****
  • Posts: 2,788
  • Cookies 9020
  • We'll bang, OKAY?
    • View Profile
    • http://mindee-bot.com
Re: [TIP] Better way to talk to npcs.
« Reply #2 on: June 26, 2020, 11:14:42 PM »
Hello,

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


Mindee-BOT creator, founder and developer.