HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

trigger help

08-02-2004, 10:40 AM#1
Nemo
Can some1 help me to make an units CURRENT LIFE set to 50% there's only a action to set life to 50% that sets the units life from it maximum life to 50% for example if a unit got 200 maximum life and 150 current life it sets the units life to 100, but I want it to be set to 50% of the current life (150) that equals 75. Plz help! :D
08-02-2004, 10:49 AM#2
mefist
Create a Real Veriable and set it to 50% of units life. Then set the life to value of the veriable.
08-02-2004, 11:22 AM#3
Nemo
Quote:
Originally Posted by mefist
Create a Real Veriable and set it to 50% of units life. Then set the life to value of the veriable.
It worked out great! thx
trigger help - Wc3C.net