Mindee-BOT

Mindee-BOT Community => Help Board => Topic started by: dragonatter on November 02, 2020, 02:34:53 PM

Title: Interacting with NPC
Post by: dragonatter on November 02, 2020, 02:34:53 PM
Hi. Can someone explain how to make the bot interact with the NPC, to take quests for instance. When I make the waypoints, I see some coordinates appear, and a w in between some (). In the ready made .bot files i got from this site, I see that the waypoints that have interaction with the NPC there is a (T). How do I make that?
Title: Re: Interacting with NPC
Post by: =Mindee= on November 02, 2020, 03:19:10 PM
Hi. Can someone explain how to make the bot interact with the NPC, to take quests for instance. When I make the waypoints, I see some coordinates appear, and a w in between some (). In the ready made .bot files i got from this site, I see that the waypoints that have interaction with the NPC there is a (T). How do I make that?

T = portal waypoint. To interact with npcs you need to use script.
Title: Re: Interacting with NPC
Post by: dragonatter on November 02, 2020, 11:27:39 PM
I added my Npc into the script.  All I managed to do so far is make the system send a text saying "hello" when I get at the set coordinate and to make my character follow the NPC around :) . I can't make the my char interact with the stupid Npc.
Title: Re: Interacting with NPC
Post by: dragonatter on November 04, 2020, 02:09:20 PM
Ok, now I can do it. How do I take stuff from the inventory?
Title: Re: Interacting with NPC
Post by: dragonatter on November 05, 2020, 09:01:26 PM
I did that to. Now how do you tell the script to use a weapon?
Title: Re: Interacting with NPC
Post by: =Mindee= on November 05, 2020, 10:46:36 PM
I did that to. Now how do you tell the script to use a weapon?

script.UseItem functions.

You can find all functions in documentary.