• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[General] Apply healing aura to player 1-5, and remove it.

Status
Not open for further replies.
Level 4
Joined
Dec 16, 2013
Messages
84
Sorry for my english.
How to make a healing and mana aura that only affects team 1 (player 1-5)? and its aoe is rectangle not a regular circle aura.

And remove the healing and mana aura effect once the team 1 player leave the red region.
Mean it doesnt linger for xxx seconds, like regular aura. I want to remove it instantly
note: player 6-10 dont get the effect when they are inside.

health.jpg

Pls explain it with trigger, im so confused...
thank you
 
Level 19
Joined
Jul 2, 2011
Messages
2,162
I'm not going to explain it in full because I'm not behind my computer, but I can give you a basic understanding of how to accomplish it yourself.

event:
unit enters region
condition:
owner of unit belongs to team 1
action:
give Item rejuvenate

You will have to create or find an item that castes rejuvenates as soon as they acquire the item. There is probably already a potion that does a similar thing over a period of time. Then all you need to do is make that potion last forever and add another trig removing the buff when the player exits the area.

event:
unit leaves region
condition:
owner of unit belongs to team 1
action:
remove buff (what ever the buff is called)

If you want this to affect all units, you will have to temporarily give a unit the ability hero inventory and then remove the ability. This can be done in trigs without any side-effects
 
Level 4
Joined
Dec 16, 2013
Messages
84
I'm not going to explain it in full because I'm not behind my computer, but I can give you a basic understanding of how to accomplish it yourself.

event:
unit enters region
condition:
owner of unit belongs to team 1
action:
give Item rejuvenate

You will have to create or find an item that castes rejuvenates as soon as they acquire the item. There is probably already a potion that does a similar thing over a period of time. Then all you need to do is make that potion last forever and add another trig removing the buff when the player exits the area.

event:
unit leaves region
condition:
owner of unit belongs to team 1
action:
remove buff (what ever the buff is called)

If you want this to affect all units, you will have to temporarily give a unit the ability hero inventory and then remove the ability. This can be done in trigs without any side-effects
thank you, i solved this before your actually replied
it kinda simillar to yours hhoho
 
Status
Not open for further replies.
Top