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

Implemented Add #interact method to ActionBar.Slot

Discussion in 'Client & Site Suggestions' started by Swych, May 29, 2017.

  1. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,031
    Likes Received:
    1,029
    Add the interact method onto the ActionBar.Slot function. Similar to having it on GameObjects, Npcs and many others. Using the actionbar could help increase the number of items dropped as it would more than likely have a lower chance for failure.

    Picture:
    [​IMG]

    Example:
    Code (Text):
    1.  
    2. granite = ActionBar.newQuery().names("Granite (2kg)").results().first();
    3. if (granite != null && granite.isActivatable()) {
    4.     granite.interact("Drop");
    5. }
    6.  
    Leave suggestions or comments below
    --- Double Post Merged, May 29, 2017, Original Post Date: May 8, 2017 ---
    @Party thoughts?
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    I suppose we can add it, we just need to take the time to sort out which interface component stores the slots current actions (we use several for each slot to detect various things).
    --- Double Post Merged, May 30, 2017, Original Post Date: May 30, 2017 ---
    Implemented for the next update.
     
  3. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,031
    Likes Received:
    1,029
    Great, thank you!
     

Share This Page

Loading...