Novice programmer here. If I wanted to script a custom health system, for instance, one that involves two "stages" of health, what would be the best way? I have some basic knowledge of OOP but not enough to think of a solution on my own. Appreciate any info you can give me.

1 comment

0

Two health stages - so two groups. Groups can be another way of saying division. If your health is 100 than 2 groups of 100 would be 50: each 'stage' is 50 health. When you're below health / 2, proceed scripting the 2nd 'stage'.