Originally Posted by
lilquickguy
Did you make the actual dialogue? Did you define it in DialogueHandler.java?
I did make the dialogue. Why would I put it in DialogueHandler? I have it as a command.
Code:
package com.rs.game.player.dialogues;
import com.rs.game.player.dialogues.Dialogue;
import com.rs.game.player.content.interfaces.BossLog;
public class BossLogInterface extends Dialogue {
@Override
public void start() {
sendDialogue(SEND_2_OPTIONS, "Which would you like to view?",
"Next Page.",
"Previous Page.");
stage = 1;
}
@Override
public void run(int interfaceId, int componentId) {
if (interfaceId == SEND_2_OPTIONS && componentId == 1) {
BossLog.sendBossLog2(player);
end();
} else if (interfaceId == SEND_2_OPTIONS && componentId == 2) {
BossLog.sendBossLog(player);
end();
}
}
@Override
public void finish() {
// TODO Auto-generated method stub
}
}