kasilopana
New Member
- Reaction score
- 1
'Ello =)
I want an ability to be add'ed when a specific unit is killed.
This is my current trigger, but I cant seem to see why the ability wont be add'ed to the attacking unit. Anyone? =)
I wanted to make it so when my hero ran thru the unit/item, the item/unit would disappear and an ability was added to the hero.. But I couldnt figure out how to make the distance/range crap, so I just went with attacking
I want an ability to be add'ed when a specific unit is killed.
This is my current trigger, but I cant seem to see why the ability wont be add'ed to the attacking unit. Anyone? =)
Trigger:
- Events
- Unit - Any Unit is attacked
- Local Variables
- Conditions
- (Unit type of (Triggering unit)) == Pickup - Summon 2 Zerglings
- Actions
- General - If (Conditions) then do (Actions) else do (Actions)
- If
- (Owner of (Attacking Unit)) == 1
- Then
- Unit - Enable the Merc Compound - Summon Mercenaries ability for (Attacking Unit)
- Unit - Show the Merc Compound - Summon Mercenaries ability for (Attacking Unit)
- Else
- If
- General - If (Conditions) then do (Actions) else do (Actions)
I wanted to make it so when my hero ran thru the unit/item, the item/unit would disappear and an ability was added to the hero.. But I couldnt figure out how to make the distance/range crap, so I just went with attacking