this is my try to teleport to minigame soul wars and the widgit has 2 children id and didnt found a method to handel it .
private void Tele_to_Soul(){
Widgets.getChildWidget(161,42).interact("Grouping");
if( Widgets.getChildWidget(76,7).isVisible()){
Widgets.getChildWidget(76,7).interact();
if( Widgets.getChildWidget(76,18).isVisible()) {
for(int i=0;i<4;i++){
Widgets.getChildWidget(76,19).getChild(5).interact(); //==========> here my try to handle the 3 widgit ids
sleep(random(350,800));
}
Widgets.getChildWidget(76, 18).getChild(18).interact("Select");
}else{
Widgets.getMatchingWidget(widgetChild -> widgetChild.getText().contains("Soul Wars")).interact("Select");
}
// if(getWidgets().containingText(76,"Soul Wars").contains("Soul Wars")){
if( Widgets.getChildWidget(76,26).interact("Teleport to")) sleepUntil(()-> getLocalPlayer().getAnimation()==-1 && Bank_Area.contains(getLocalPlayer()),30000);
// }
}
}
any way for teleport or some help ?!!