Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is the most efficient way of scripting a custom Health instance?

Asked by 4 years ago

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.

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'. pidgey 548 — 4y

Answer this question