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

Trigger help

Status
Not open for further replies.
Level 3
Joined
Nov 4, 2020
Messages
25
Hopefully this is in the right place.

Okay so what I am trying to do is relatively simple in theory but I cannot find the trigger combinations to actually do it and I cannot invest the time to learn the other scripting language.

What I am trying to do...for my campaign basically, there are immortal creatures in the world that can be taken down to 1 hp and then just never die. (I know its a buff that the unit will need and i've already created that.)

I just cannot figure out how to monitor this in the trigger functions/actions. Unit takes damage, but it requires a specific unit. (I understand the concept of when the creature is created to give it the buff through trigger and then add them to a variable group) but would it be an arrayed unit variable, or unit group variable as the only way it seems to monitor if a unit takes damage is through the unit variable type....which i can't imagine i should have to create a trigger for each 100+ immortal units on the map each map.

Next, I have an ability that will remove the immortal buff from the creature and a mass remove for later when they become more of a threatening force in my world....I think i know how to carry out that function, casts ability blah blah triggers, remove buff from targeted unit or units in area of ability yada yada.

Its just setting up the units as I'd rather they be created by a trigger event then have to hide them and then unhide them with triggers.

i do not want the unit invulnerable. That makes them unattackable which I do not want. And I also do not want them going below 1 hp

Would it be A unit is (Attacked) I just don't understand why this is so limiting, (unit) (takes damage) should be what I need. But again it requires me to manually select the units as I cannot assign (Unit) to a variable
 
Last edited:
Level 23
Joined
Dec 4, 2007
Messages
1,559
I have been there too, until i found:
Damage Engine 5.7.1.2

It seems complicated at first, but just check the demo map and it will come to you naturally.

Can't use wc3 without Bribe's Damage Engine anymore.
 
Status
Not open for further replies.
Top