So heres what i wanted to happen:
When the unit uses an item on an area or unit then a dummy unit(like mortar team) will be created at the position of the unit using the item,that created unit will use Attack Ground on the point of the target point of the item being used.i made this trigger but it didnt work what am i doing wrong?
When the unit uses an item on an area or unit then a dummy unit(like mortar team) will be created at the position of the unit using the item,that created unit will use Attack Ground on the point of the target point of the item being used.i made this trigger but it didnt work what am i doing wrong?
-
M202A2
-
Events
- Unit - A unit Uses an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to M202A2
-
Actions
- Unit - Create 1 M20 for (Owner of (Hero manipulating item)) at (Position of (Hero manipulating item)) facing Default building facing degrees
- Wait 0.01 seconds
- Unit - Order (Last created unit) to Attack Ground (Target point of ability being cast)
-
Events