Staredit Network

Staredit Network -> UMS Assistance -> Detecting % of life to give the same to an other
Report, edit, etc...Posted by Thyrax on 2006-05-07 at 20:58:39
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 ?
Report, edit, etc...Posted by Toothfariy on 2006-05-07 at 21:28:36
use virtual health system
Report, edit, etc...Posted by Thyrax on 2006-05-07 at 21:58:08
that tuto was not clear to me at all confused.gif maybe someone can explain better ?
Report, edit, etc...Posted by Kenoli on 2006-05-07 at 22:17:39
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?
Report, edit, etc...Posted by Thyrax on 2006-05-07 at 22:29:29
yes i think this will help me ! thx a lot !

Report, edit, etc...Posted by Kenoli on 2006-05-07 at 22:35:19
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.
Next Page (1)