here is my prob , i am making a shooter ums and the player have the choice of different gun ( like doom for exemple ) each gun are a different type of unit.
I want to be able to switch unit during a fight keeping the same % of life ( every unit have 1k hp and 0 armor ) anyone have a solution ?
use virtual health system
that tuto was not clear to me at all

maybe someone can explain better ?
Basically you make the attacking unit invincable and have another unit to take damage. When the unit dies, then the player has died. This unit could be a burrowed unit which stays under the attacking unit. When the player changes "weapons" you can just remove the old unit and create a different one, the burrowed unit will remainl it will still have the same amount of life. Understand?
yes i think this will help me ! thx a lot !
You need to get an enemy medic to cast Optical Flare on the unit. The unit *must* have at least 80 max HP for the medic to use blind. If you attack the medic it will cause it to use optical flare more often.