I noticed one thing - some elements will ignore style changes, is this related to overriding style by the game itself during player value updates (like hunger)?
Hmm... which elements do you mean exactly? And which style change do they ignore specifically?
The game indeed changes certain style paramters of some elements, e.g. the DisplayStyle of stamina and breath bar or the broken bone icon. For some elements the backgroundImageTintColor gets also changed (e.g. for the hunger and thirst icons), but that shouldn't interfere with other style changes ![]()
Another thing that I notices is that stamina value in player is not updated correctly on server side, it is always 100 and if you will spend a lot can instantly change to 20 or other number, and then back to 100. Default player UI shows it correctly. Is it possible to get correct player stamina?
Oh, indeed
That seems to be a bug... thanks for bringing this to my attention! ![]()
I also have another question - how do make elements behave similar to built-in during screenshot capture? I mean that built-in can be hidden during screenshot and I'm not sure how to reach same behaviour
Right now the screenshots only hide the HUD (and its content)... but probably it makes sense if API elements attached to the HUD (which is the default attach target) are only hidden on screenshots... we'll change that ![]()