• 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.

How do I make a fountain...

Status
Not open for further replies.
Level 9
Joined
Dec 17, 2008
Messages
499
You could try to make it in that way, that you create fountain for player 1, then disable from targets from spell heal for the fountain allies.

I didn't quite get that, but I think this is what you mean:
Create a Fountain for <Player you want>
Change fountain's ability to NOT heal allied.
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
make targets allowed - player units

or

every 1 sec of game

set UNITGROUP = unit within <X> range of <fountain> matching (owner of matching unit equal to <your player>)
unit - pick every unit in UNITGROUP and do actions
set percentage life of (picked unit) to percentage life of (picked unit) + 1 %
call DestroyGroup(udg_UNITGROUP)
 
Status
Not open for further replies.
Top