• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[General] HP/MANA fountain question

Status
Not open for further replies.
The HP/Mana fontains use auras to regenerate health/mana. Open these auras in the object editor and look for the field "targets allowed". There you can select stuff like "only ground units", "no invulnerable units", ...

If this isnt enough then you might have to trigger the regeneration yourself. To do so set the regeneration rate of the aura to zero, create a trigger that runs every ~0.5 seconds, picks all units around the fontain and adds some hp/mana to them. You can then use the condition in "Pick every unit in ... matching <Condition>" to filter which units should receive regeneration and which shouldnt.
But this is only one possible approach out of many...
 
The HP/Mana fontains use auras to regenerate health/mana. Open these auras in the object editor and look for the field "targets allowed". There you can select stuff like "only ground units", "no invulnerable units", ...

If this isnt enough then you might have to trigger the regeneration yourself. To do so set the regeneration rate of the aura to zero, create a trigger that runs every ~0.5 seconds, picks all units around the fontain and adds some hp/mana to them. You can then use the condition in "Pick every unit in ... matching <Condition>" to filter which units should receive regeneration and which shouldnt.
But this is only one possible approach out of many...

Thanks ! It worked.
 
Status
Not open for further replies.
Back
Top