VladX 0 Share 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. Link to comment Share on other sites More sharing options...
PapayaBrownie 1 Share Posted April 24, 2020 What are you wanting to do with the text? Link to comment Share on other sites More sharing options...
VladX 0 Author Share Posted April 24, 2020 Couple of things, i get information from it about object state. Link to comment Share on other sites More sharing options...
Stormscythe 263 Share Posted April 24, 2020 The only thing I know is getMouse().getEntitiesOnCursor(); - idk if that will do? Link to comment Share on other sites More sharing options...
PapayaBrownie 1 Share Posted April 26, 2020 Could any of the GroundItem methods help you? Such as hasAction(), or getActions(), getID getName etc Link to comment Share on other sites More sharing options...
VladX 0 Author Share 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. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share 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) Link to comment Share on other sites More sharing options...
VladX 0 Author Share Posted May 14, 2020 Thanks for hint and yes there are all things that i need. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.