I am sorry if this question was asked before, but I couldn't find any solution to my problem.

I am a beginner and I am making my first game despite of that fact I have passed the beginner tutorial and I am familliar with the basics.

So, I want to make sort of turn-based space tactical game so you have two ships fireing at eachother in turn-bassed battle and you have commands to issue to your ship., seems like advanced and difficult game to make but I want to do that.

what I want to do is when "enemy ship" is firing you first loose your shields than when shield comes to zero you start losing armor and aventually when armor is zero you start losing hull and than when hull is zero ship gets destroyed.

I also want my shield to slowly regenerate over time.

So how can I do this to have three bars representing health but they will decrease one by one shield first than armor than hull?