VladX 0 Posted April 23, 2020 Is there any way to check string displayed in top left corner of the game window? Im talking about string "Take Ashes / 2 more options" like i show in image below. I look in the api for it amd don't find nothing reasonable. Widget hoower also don't respond with that area.
Stormscythe 263 Posted April 24, 2020 The only thing I know is getMouse().getEntitiesOnCursor(); - idk if that will do?
PapayaBrownie 1 Posted April 26, 2020 Could any of the GroundItem methods help you? Such as hasAction(), or getActions(), getID getName etc
VladX 0 Author Posted May 2, 2020 the main problem is that actions of items are changing. it depends on item state. if you select item in inventory like meal then fire has action use. I found that getMenu().getDefaultAction() can handle some of problems but not all.
Nuclear Nezz 2107 Posted May 10, 2020 I was going to say, look at getMenu().getMenuRows or something along those lines. Default action should return the action that is on the left click of the mouse (hence: default)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.