Can anyone tell me why this Trigger doesnt work?
Im wanting the Casted ability from a unit, to instankly kill a Destructable and replace with a unit(structure) in its place.
I have this but it doesnt work.
Im wanting the Casted ability from a unit, to instankly kill a Destructable and replace with a unit(structure) in its place.
I have this but it doesnt work.
Trigger:
- Morph Destructable
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Infest (Warlock)
- (Destructible-type of (Target destructible of ability being cast)) Equal to Rock Chunks
- Actions
- Set TempPoint = (Position of (Target destructible of ability being cast))
- Destructible - Kill (Last created destructible)
- Unit - Create 1 Infestered Stone for (Owner of (Triggering unit)) at TempPoint facing (Random angle) degrees
- Custom script: call RemoveLocation (udg_TempPoint)
- Events