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

Help with finding "Effected Unit"

Status
Not open for further replies.
Level 7
Joined
Oct 8, 2005
Messages
298
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]
 
Level 6
Joined
Sep 17, 2005
Messages
276
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....
 
Status
Not open for further replies.
Top