Events
Game - Map initialization
Unit - Any Unit Enters Healing Zone
Local Variables
Conditions
(Unit type of (Triggering unit)) == Hero
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Triggering unit) is in Healing Zone) == true
Then
Unit - Set (Triggering unit) Life Regeneration Rate to (((Unit type of (Triggering unit)) Life Maximum) / X)
Else
Unit - Set (Triggering unit) Life Regeneration Rate to ((Unit type of (Triggering unit)) Life Regen Rate)
Don't know if this is what you need. You specify a region, which I called Healing Zone. When any unit enters this zone, and passes the unit type check, as long as that unit stays in Healing Zone, he'll get a life regen of it's life maximum divided by X. Else statement should set its life regen back to normal values when they're not in the zone, although I don't know if it's necessary at all... I also add "Game - Map Initialization" to trigger, sometimes it does wonders and fixes triggers that you think they're broken, that might be unnecessary too.
Ive been trying to make a region trigger which would heal my hero's when they walked into it Everything i have try'd failed...
Any Ideas?
@TheRupturedD: Go
still cant figure it out
@TheRupturedD: Go
This is what i got so far
Global Trigger
Event - Map Init, Action - Unit Group: Units in Group Matching Condition, Action - Set Unit Property,
@TheRupturedD: Go
What's more? just set regeneration rate to something higher and voilá
EDIT: wait.... no
Event: Any Unit enters region
action: unit - set triggering unit properties
and then voilá ^^
@TheRupturedD:
Didn't test it, but this should work
Untitled Trigger 002
Events
Unit - Any Unit Enters Region 001
Local Variables
Conditions
Actions
Unit - Set (Triggering unit) Life (Percent) to 100.0
@gizmachu: Go
Thanks, it worked just need to figure out how to set it to player or team only
Events
Game - Map initialization
Unit - Any Unit Enters Healing Zone
Local Variables
Conditions
(Unit type of (Triggering unit)) == Hero
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Triggering unit) is in Healing Zone) == true
Then
Unit - Set (Triggering unit) Life Regeneration Rate to (((Unit type of (Triggering unit)) Life Maximum) / X)
Else
Unit - Set (Triggering unit) Life Regeneration Rate to ((Unit type of (Triggering unit)) Life Regen Rate)
Don't know if this is what you need. You specify a region, which I called Healing Zone. When any unit enters this zone, and passes the unit type check, as long as that unit stays in Healing Zone, he'll get a life regen of it's life maximum divided by X. Else statement should set its life regen back to normal values when they're not in the zone, although I don't know if it's necessary at all... I also add "Game - Map Initialization" to trigger, sometimes it does wonders and fixes triggers that you think they're broken, that might be unnecessary too.