Hello! I made a spell with 1 dummy and it works. I want to know how to add for this spell 20 same dummies.
Here is my trigger.
Events - A unit Starts the effect of an ability
Conditions - ability being cast equal to Entagling Roots
Actions - Set p = Target point of ability being cast
- Unit - Create 1 tree(its a dummy) for owner of casting unit at p facing default building facing degrees
- Unit - Add a 3.00 sec generic expiration timer to (last created unit)
- Animation - play last created birth animation
- Animation - change last created unit's animation speed to 3000% of its original speed
- wait 2.00 seconds.
- unit - remove last created unit from the game
- Custom script: call RemoveLocation(udg_p)
Here is my trigger.
Events - A unit Starts the effect of an ability
Conditions - ability being cast equal to Entagling Roots
Actions - Set p = Target point of ability being cast
- Unit - Create 1 tree(its a dummy) for owner of casting unit at p facing default building facing degrees
- Unit - Add a 3.00 sec generic expiration timer to (last created unit)
- Animation - play last created birth animation
- Animation - change last created unit's animation speed to 3000% of its original speed
- wait 2.00 seconds.
- unit - remove last created unit from the game
- Custom script: call RemoveLocation(udg_p)