REM.Shephard
New Member
- Reaction score
- 0
Hi! I want to make an ability that can be casted with no target (like "Thunderclap" or "Warstomp) and that launchs "Shadow Strikes" to all nearby enemy units (450 range). I already made the dummy abilities (the one that has no target and the "Shadow Strikes"), but I don't know how to make it work as I want. This is what I have:
Events
Unidad - A unit Comienza a lanzar una habilidad
Conditions
(Ability being cast) Igual a Warstomp
Actions
Set Temp_Point = (Position of (Casting unit))
Grupo de unidad - Pick every unit in (Units within 450.00 of Temp_Point) and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy for (Owner of (Casting unit)) at Temp_Point facing Vista edificio predeterminada degrees
Unidad - Add Shadow Strike to (Last created unit)
Unidad - Set level of Shadow Strike for (Last created unit) to (Level of Warstomp for (Casting unit))
Unidad - Order (Last created unit) to Elfa nocturna guardiana - Golpe de sombras (Picked unit)
Unidad - Add a 2.00 second Genérico expiration timer to (Last created unit)
Custom script: call RemoveLocation (udg_Temp_Point)
Can you tell me what am I doing wrong? Thanks in advance.
Events
Unidad - A unit Comienza a lanzar una habilidad
Conditions
(Ability being cast) Igual a Warstomp
Actions
Set Temp_Point = (Position of (Casting unit))
Grupo de unidad - Pick every unit in (Units within 450.00 of Temp_Point) and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy for (Owner of (Casting unit)) at Temp_Point facing Vista edificio predeterminada degrees
Unidad - Add Shadow Strike to (Last created unit)
Unidad - Set level of Shadow Strike for (Last created unit) to (Level of Warstomp for (Casting unit))
Unidad - Order (Last created unit) to Elfa nocturna guardiana - Golpe de sombras (Picked unit)
Unidad - Add a 2.00 second Genérico expiration timer to (Last created unit)
Custom script: call RemoveLocation (udg_Temp_Point)
Can you tell me what am I doing wrong? Thanks in advance.