sob freddie 0 Posted December 4, 2018 Report Share Posted December 4, 2018 (edited) i know this can be written better feel free todo so, i noticed theres no way to delay how long before the next dialogue popped up, useful if your creating quest, kinda needed anyways here how to add it, again its not perfect it can be better Open Dialogue.java and add this to there public int DialogueDelay() { return -1; } close and save that then Open DialogueManager.java In the Load void add final int delay = reader.has("delay") ? reader.get("delay").getAsInt() : -1; and add this below that public int DialogueDelay() { return delay; } then add int delay = next.DialogueDelay(); if(delay > 0) { player.getPacketSender().sendInterfaceRemoval(); try { Thread.sleep(delay * 1000); } catch (InterruptedException e) { e.printStackTrace(); } } Above Quote start(player, next); inside the NEXT Void Again this can be done better i just needed something quick for quest im making, feel free to edit and reshare what you changed - Brandon Edited December 4, 2018 by sob freddie Link to comment Share on other sites More sharing options...
Mars RSPS 2 Posted January 10, 2019 Report Share Posted January 10, 2019 thanks might use. Link to comment Share on other sites More sharing options...
siccoblue 2 Posted May 5, 2019 Report Share Posted May 5, 2019 worked great, thank you Link to comment Share on other sites More sharing options...
UndeadAlien 0 Posted March 25, 2020 Report Share Posted March 25, 2020 thanks for the post keep it up Link to comment Share on other sites More sharing options...
skaze 1 Posted March 28, 2020 Report Share Posted March 28, 2020 still a nice share to ther community! Link to comment Share on other sites More sharing options...
Mevaderiseenhoer 1 Posted January 19, 2022 Report Share Posted January 19, 2022 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now