Warcraft III resources & community, 2003–2006 · archived

Help with finding "Effected Unit"

3 posts
#1

Help with finding "Effected Unit"

Ok heres the deal. Im making an ability based off of battle roar.
What the ability is gonna do is when a unit gets effected by battle roar im going to cast another debuff on that effected unit using a dummy unit. Only thing is i have two big problems right now.

I have a trigger where when a unit starts the effects of an ability do (BLANK) to that unit. Only problem is, i cant figure two things out.

First: I cant find a trigger that responds to "Effected Unit" im not sure if triggering unit will work or not but if it will plz tell me (when i say i need a trigger that responds to effected unit i mean i want to create a dummy unit and have it cast an ability on the effected unit).

Second: I need a condition were the ability that effected the unit was Battle Roar. I know how to set up conditions to make sure that ability being cast is equal to battle roar but i cant figure out how to set up a condition were the ability that effected the unit was equal to battle roar.

Thanks for the help and if i did a confusing job posting my question plz tell me and ill try harder to make it easier to understand :D [/quote]
#2
1) the function you need is called "target unit of (ability being cast)". that will refer to the event-ability.

2)you can use the boolean-comparison here. the battle-roar puts buffs on the targets and you can use then the function "((unit) has buff xxxxx) Equal to True".

hope that helped :wink: . but it would be very usefull - if you still have problems - that you post your trigger here....
#3
hmm that might work ty.
man i cant beleive i didnt think of that before, i feel like such a newb... :oops: