If you're using
getWalking()
getLocalWalker()
I think you're out of luck but if you're using the snippet, that I believe originates from @Khaleesi but posted by hero (can't tag you for some reason)
(feel free to correct me there you two)
You could do
public void webWalkEvent(final INodeRouteFinder routeFinder, final Position position, final Area area, final MethodProvider script) {
WebWalkEvent event = new WebWalkEvent(routeFinder, position);
event.setBreakCondition(new Condition() {
@Override
public boolean evaluate() {
return getDialogues().inDialogue();
}
});
script.execute(event);
}
which'd break walking when in dialogue, so you can handle it and it'd continue