futurepasts Posted July 26, 2015 Share Posted July 26, 2015 Hello can sombody show me example script that interact npc and then interact's dialog. Quote Link to comment Share on other sites More sharing options...
iJodix Posted July 26, 2015 Share Posted July 26, 2015 Dialogue api;http://osbot.org/api/org/osbot/rs07/api/Dialogues.htmlInteracting;http://osbot.org/api/org/osbot/rs07/api/model/Character.html#interact-java.lang.String...- Quote Link to comment Share on other sites More sharing options...
Alek Posted July 26, 2015 Share Posted July 26, 2015 http://osbot.org/forum/topic/60537-tutorial-simple-interaction-with-objects-and-npcs/ Quote Link to comment Share on other sites More sharing options...
blabla123 Posted July 26, 2015 Share Posted July 26, 2015 NPC npc = npcs.closest(npcName); if(!dialogues.inDialogue()){ if(npc != null){ if(npc.isVisible()){ npc.interact(actionString); } } } else { // handle specific dialogue } Quote Link to comment Share on other sites More sharing options...