I currently have larger enemies, that I want to spawn smaller "baby" enemies that are equal to the current enemies health. The problem is, this health is constantly changing as it takes damage. And I want the enemies that are spawned at any given moment, to have their hp equal to this.
I can't seem to find any examples of this on the forums, does anyone know of a way to check for this value, when the lesser enemies are spawned? And how to give them that value?