Hi! I used to know how to do this, but somehow I've forgotten it. Can you tell me what's wrong with this?
-
X ability
-
Events
- Unidad - Unit starts the effect of an ability
-
Conditions
- (Ability being cast) equals to X ability
-
Actions
- Set Ab_Temp_Point = (Target point of ability being cast)
- Set Ab_Temp_Group = (Units within 300.00 of Temp_Point matching (((Owner of (Matching unit)) is an enemy of (Owner of (Triggering unit))) Igual a True))
-
Unit Group - Pick every unit in Ab_Temp_Group and do (Actions)
-
Loop: Actions
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Ab_Temp_Point facing Vista edificio predeterminada degrees
- Unidad - Add X ability Dummy 2 to (Last created unit)
- Unidad - Add a 3.00 second expiration timer to (Last created unit)
- Unidad - Order (Last created unit) to Drunken Browler neutral - Drunken Haze (Picked unit)
-
Loop: Actions
- Custom script: call RemoveLocation (udg_Ab_Temp_Point)
- Custom script: call DestroyGroup (udg_Ab_Temp_Group)
-
Events