Question Fetching main menus (settings, inventory, ...)

Discussion in 'Developer Support' started by M4XX, Sep 18, 2021.

  1. M4XX

    Joined:
    Sep 15, 2021
    Messages:
    2
    Likes Received:
    0
    Hi, I just started programming for Runemate and I wanted to create a bot for the tutorial island.

    Now I figured out how to do chat dialogs & hint arrows, but can't seem to find the functionality for the always visible interfaces as settings and such, Anyone can give me some pointers here?

    I assume its the following but this doesnt work: LegacyTab.SETTINGS.open(true);
     
    #1 M4XX, Sep 18, 2021
    Last edited: Sep 18, 2021
  2. popshopadop

    Joined:
    Oct 5, 2021
    Messages:
    1
    Likes Received:
    0
    Just started migrating a bot over to Runemate. I have heard tut island for bots is a risky task to perform. However, to answer your question, the following class will help "ControlPanelTab". Using that, you can check if "ControlPanelTab.getOpened() != ControlPanelTab.COMBAT_OPTIONS" to see if the combat tab is open. For your question "ControlPanelTab.getOpened() != ControlPanelTab.SETTINGS" should check if the tab is open. if it isn't. call "ControlPanelTab.SETTINGS.open()".
     

Share This Page

Loading...