Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Healing Triggers
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-18 at 12:01:39
I am making a map where they can use potions and jazz... I was just wondering if there was anyway of making it only heal them a little for each potion, or if they have to heal the whole way. The reason i am asking is because your health is only partial at the start, and to heal them all the way would stink, plus if your "health capacity" is full, and you use a potion at 1% health i dont want it to always heal you full... I was thinking about using like a medic deal in the corner of the map or something, but then they still would be able to heal past their "health capacity".... I don't know what to do... can neone help me? confused.gif
Report, edit, etc...Posted by Lyon on 2006-03-18 at 12:37:22
Ummm, if you mean you get Hp Per level. you do it like this


Trigger
Description:
Healing 1
Players:
¤ Human using Potion
Conditions:
¤ Current player Brings at least 1 "Heal Potion" to "XYZ Location"
Actions:
¤ set HP for player "Current Player" at location "XYZ Location" to 100%


and if you want it to be different each level do this


Trigger
Description:
Healing Potion per Level
Players:
¤ Current Player
Conditions:
¤ Bring healing potion unit to XYZ Location
¤ Current players "Custom Score" is At least 1
Actions:
¤ Set HP For all "Men" Owned by player current player at location "XYZ LOcation" to 10%


Then do that with Different Heal percentages, and different "Custom Scores" and it'll work
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-18 at 12:56:48
That sounds good i guess, but i need to know like, say marine health = 16 i want to know if there is any way to just add 50 health. I dont think there is a condition asking what health % the unit has, so is there anyway to do that or no?
Report, edit, etc...Posted by Urmom(U) on 2006-03-18 at 13:03:45
You can use virtual health and implement the healing by adding a certain amount of deathcounters which would raise the life.

http://www.staredit.net/index.php?tutorial=74
Report, edit, etc...Posted by DT_Battlekruser on 2006-03-18 at 13:16:18
You can also add by teleporting or creating a medic, although it won't observe any HP caps.
Report, edit, etc...Posted by Jello-Jigglers on 2006-03-18 at 13:35:44
Thanks. I think im just gonna have to do the medic deal... Not exactly what i wanted, but it will work.
Report, edit, etc...Posted by smasher25 on 2006-03-18 at 16:13:27
Arrrrrrrrrrgh. everytime I try to help somone in the map making assistance thing its already solved and there are limitless possibilities answers here.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-18 at 16:30:48
and thus we both spam. But I would go to virtual lives its better for this type of map.
Report, edit, etc...Posted by Urmom(U) on 2006-03-18 at 20:18:44
Depends how many units he has though. But I think this is solved.
Next Page (1)