Thanks - thought I might have to do something like that. As long as it's only a single unit, this wont cause performance issues if I did it every 0.5 second?Not sure if you can. Might have to trigger it.
- Life Regen Aura
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Set TempPoint = (Position of YourHealingUnit)
- Custom script: set bj_wantDestroyGroup = true
- Unit Group - Pick every unit in (Units within 500.00 of TempPoint) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is alive) Equal to True
- ((Picked unit) is A structure) Equal to False
- ((Picked unit) is Mechanical) Equal to False
- Then - Actions
- Unit - Set life of (Picked unit) to ((Percentage life of (Picked unit)) + 0.50)%
- Else - Actions
- Custom script: call RemoveLocation (udg_TempPoint)
Right now it's set to 0.01 which is 1%. I wan't it to be set to 0.005, which is not possible as the lowest value it will accept (even with shift held) is 0.01 (can't add more digits).Do Shift Enter on the field to change the value to whatever you want
If i'm not mistaken the ability is usually set for the neutral fountain of health.That script will heal all units, including enemies.
It still only heals allies, it's just that neutral is an ally to everyone.If i'm not mistaken the ability is usually set for the neutral fountain of health.
Problem is that you can't set lower percentage than 1% with the ability (0.01).Like @Devalut said, isnt Fountain of Life's regen aura percentage based? Why not use that? Do you need more control over the spell?
I've tried using the new natives as well -(set ability real level, etc)- to directly modify the healing rate, but it still wouldn't take and resulted in making it no healing what so ever.Problem is that you can't set lower percentage than 1% with the ability (0.01).
I just wanted to know if it would cause notable lag if I ran it every 0.5 sec