Summary
Get the
PlatformerGameKit.Health.CurrentHealth as a percentage of the PlatformerGameKit.Health.MaximumHealth before the
change then set it to that same percentage afterwards.
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- Health
.HealthChangeMode
Syntax
Scale
Examples
Health is 50 / 100 (Current is 50% of Maximum)
Set Maximum to 120
Health is 60 / 120 (Current is 50% of Maximum)Constant Value
| Value | Type |
|---|---|
| 0 | Int32 |