Set tmpPoint = (Center of (Region centered at (Position of (Triggering unit)) with size (900.00, 900.00)))
Cluster Rocket
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Cluster Rockets
Actions
Set Cluster_Rocket_Point = (Position of (Triggering unit))
Unit - Create 1 Cluster Rocket (Dummy Unit) for (Owner of (Triggering unit)) at Cluster_Rocket_Point facing Default building facing degrees
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Neutral Tinker - Cluster Rockets (Cluster_Rocket_Point offset by ((Random angle), (Random angle)))
Custom script: call RemoveLocation(udg_Cluster_Rocket_Point)
Cluster Rocket
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Cluster Rockets
Actions
Set Cluster_Rocket_Point = (Position of (Triggering unit))
Unit - Create 1 Cluster Rocket (Dummy Unit) for (Owner of (Triggering unit)) at Cluster_Rocket_Point facing Default building facing degrees
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
[B][U]Set tmpReal = (Random real number between 0.00 and 300.00)<--- set this to whatever radius you want[/U]
[U]Set tmpPoint = (Cluster_Rocket_Point) offset by tmpReal towards (Random angle) degrees)[/U]
[U]Unit - Order (Last created unit) to Neutral Tinker - Cluster Rockets tmpPoint[/U]
[U]Custom script: call RemoveLocation(udg_tmpPoint)[/U]
[/B]Custom script: call RemoveLocation(udg_Cluster_Rocket_Point)