Frukzz 0 Posted August 9, 2024 Share Posted August 9, 2024 Hi i cant find any examples of how to interact with an NPC and i have a bit of trouble understanding the API documentation properly. Could someone give me an example on how this is done? 🙂 Quote Link to comment Share on other sites More sharing options...
Frukzz 0 Posted August 10, 2024 Author Share Posted August 10, 2024 Npc npc = Query.npcs() .nameEquals("Npc Name") .findFirst() .orElse(null); npc.interact("Talk-to") Waiting.waitUntil(npc::isInteractingWithMe); I figured it out, hope it helps someone else 🙂 Quote Link to comment Share on other sites More sharing options...
cass2186 45 Posted August 11, 2024 Share Posted August 11, 2024 You can do  if(Query.npcs().nameContains("name").findClosest().map(n-> n.interact("Talk-to").orElse(false)){ Waiting.waitUntil(5000, 100, ChatScreen:isOpen); }  Quote Link to comment Share on other sites More sharing options...
rosalysny 0 Posted September 30 Share Posted September 30 (edited) On 8/10/2024 at 12:05 AM, Frukzz said: Hi i cant find any examples of how to interact with an NPC and i have a bit of trouble understanding the API documentation properly. Could someone give me an example on how this is done? 🙂 That's awesome news for Android users! The Better Reading Podcast has been a fantastic resource for book lovers, and now being able to listen directly from your phone makes it even more accessible. Whether you're commuting, exercising, or just relaxing at home, it's great to have literary discussions right at your fingertips. For those managing a lot of content or looking to optimize their listening habits, platforms like best free scanner app https://scanner.biz/reviews/best-free-scanner-apps/ can help organize and track your podcasts, ensuring you never miss an episode and stay on top of your listening schedule. Thanks for information! Edited September 30 by rosalysny Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.