Anyway to some how configure a players health into switches or something along that line. Like if I have 85% health, I want a new character to have the same health as my old character, I want to have switches set when your health is at a certain percentige. Anyway of this possible? (So that I can include what your health in as a factor in the conditions)
You could do it, but.. yeah..
You need a burrowed unit under the unit (have the unit invincible, not the burrowed unit) you want to record the health for, and when the burrowed unit is killed add to a death count to 1 and create another unit there.
and have a trigger that says when death count is 1 set the unit to 90% hp
to add life, again, just change the death count back to 0
If the unit that is doing the killing is a computer player, make sure they have vision for the burrowed unit and are unallied
NOTE:: this is very impratical if the player that is shooting the burrowed unit is a human player.