After a solid week of Googling and messing around, I'm giving up and asking for help. I have a decent background in languages such as Java and C++, I just can't find the functions that I need to make this work.
The mod I have in mind is very simple. I want to have a horse stamina bar. The logic would be roughly as follows:
If(player.ismounted && horse.stamina < 100%){show stamina bar}else{hide stamina bar}
That's all I want to do.
I figure that the custom bar should be a relatively simple cut and paste of the player's stamina bar with the only necessary change being the stamina av would be from the horse instead of the player. It might even be possible to simply toggle the actor that the current bar is referencing based on the player being mounted or not instead of making a duplicate.
I'm not necessarily looking for someone to write this for me, I just can't figure out how to find the information that I need in order to put it together. Thank you very much for any help that is offered and please forgive me if I've managed to fail at searching the internet.