Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Implemented Add #interact method to ActionBar.Slot

Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,787
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:
f74cf385ca35449510cb5a51c372fb7f.png


Example:
Code:
granite = ActionBar.newQuery().names("Granite (2kg)").results().first();
if (granite != null && granite.isActivatable()) {
    granite.interact("Drop");
}
Leave suggestions or comments below
 
@Party thoughts?
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
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).
 
Implemented for the next update.
 
Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,787
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).
 
Implemented for the next update.
Great, thank you!
 
Top