March 7, 20178 yr Anyone have a snippet of taking the lamp from a genie when it spawns rather than ignoring? Thanks in advance.
March 7, 20178 yr Check if the Genie is interacting with your player, go through the dialogue. If you contain a lamp in your inventory, click it. If the widget for getting stats is visible, interact with the widget to select the skill you want
March 7, 20178 yr 11 minutes ago, Juggles said: Check if the Genie is interacting with your player, go through the dialogue. If you contain a lamp in your inventory, click it. If the widget for getting stats is visible, interact with the widget to select the skill you want Pseudocode ftw.
March 7, 20178 yr Author Algorithm wise isnt the issue. More because I am new to the api and its pretty rare to get a genie to debug code. Rather have someone's snippet if they are experienced and have used it many times.
March 7, 20178 yr n -> n.getInteracting() != null && n.isInteracting(myPlayer()) && n.hasAction("Talk-to"); ?
March 7, 20178 yr 40 minutes ago, Ayylmao420 said: n -> n.getInteracting() != null && n.isInteracting(myPlayer()) && n.hasAction("Dismiss") && n.getName().contains("enie"); ?
March 7, 20178 yr 1 hour ago, Polymorphism said: Idk man you might end up interacting with a "Big Weenie"
Create an account or sign in to comment