Set up a health component on an entity with a maximum HP value.
The entity ID
Maximum (and initial) health points
sg.setHealth(player, 100); Copy
sg.setHealth(player, 100);
Set up a health component on an entity with a maximum HP value.