I’m trying my hand at some mod developing with a simple mod that requires me to know how to remove a part of the UI.
I can easily remove a “screen” element with some simple code, but I can’t figure out how to hide a “UIComponent”. I am trying to hide UISoldierComp, unless that’s not the right one.
I am trying to hide the ammo count and health UI element in the bottom right, and then bring it back up for maybe 3 or 4 seconds if the user presses a button. Kind of like Insurgency: Sandstorm-style ammo checking.
This is my first mod so I am trying to make it as simple as possible for me.
Any help from a more experienced dev would be appreciated