1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question ActionBar.Slot

Discussion in 'Developer Support' started by nenci494, Aug 26, 2018.

  1. nenci494

    Joined:
    Jan 28, 2017
    Messages:
    2
    Likes Received:
    0
    Hey,
    just beginning writing a bot for runemate (got basic java knowledge).
    Code (Text):
    1.  
    2. ActionBar.Slot tele = ActionBar.newQuery().results().first();
    3. or
    4. ActionBar.Slot tele = ActionBar.newQuery().names("name here").results().first();
    5.  
    This seems to be off by 1 action bar slot and i cant seem to figure out what im doing wrong.

    EDIT: its actually off by 1 slot. So i gues it has something to do with arrays starting at 0, but cant find a solution on how to address the original one
     
  2. Boot

    Joined:
    Apr 21, 2015
    Messages:
    389
    Likes Received:
    83
    What exactly is your issue? On action bar you can actually add. Filled() as well
     
  3. nenci494

    Joined:
    Jan 28, 2017
    Messages:
    2
    Likes Received:
    0
    Im trying to use a skill on the bar, for example my skill is in slot 3 (all others are empty), my code snipplet i posted before gives me slot 4 not slot 3
     

Share This Page

Loading...