Here is the trigger I tried (I tried it with multiple triggering abilities, not just dispel magic) :
Events
Unit - A unit finishes casting an ability
Conditions
(Ability being cast) Equal to Dispel Magic
Actions
Destructible - Create a Summer Tree Wall at (Target point of ability being cast) facing (Random angle) with scale 1.00 and variation 0.
Cryypter
P.S. I am not very experienced at using triggers or destructibles.|||Quote:
Unit - A unit finishes casting an ability
Use:
Code:
Unit - A unit starts the effect of an ability
Finishing casting often creates problems with the event response.|||Thanks, that works.
Just out of curiosity, is the a way to make a tree actually buildable by a worker, not just make it appear with a trigger?
Thanks|||you could try creating a building, but change the art to that of a tree, this is somewhat complicated, because you would have to create a trigger that when it attacks the tower 5 times it gives some lumber. this isnt too hard, just quite a bit of variable and trigger work|||First make a unit that looks like a tree. After that make it so the "fake tree" can upgrade into something new. AKA "Scout tower upgrades into a Cannon Tower"
Make a trigger stating:
Events:
Unit - A Unit Finishes research
Conditions:
(Triggering unit) Equal to (Random unit from (Units of type Fake Tree)
Action:
Unit - Kill (Triggering unit)
Destructible - Create a Summer Tree Wall at (Position of (Dying Unit)) facing (Radom angle) with scale of 1.00 and variation 0
Of course you could make that trigger work better with knowlage of variables.
No comments:
Post a Comment