Pls make this spell mu i without wait action with: hankys indexing sys, use array for the time set array value to 20 when the spell is cast. The subtract 1 from the value in the looping trigger each time . When the value is 0 remove unit from the game.
-
fire sky init
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Meteor Strike
-
-
Actions
-
Custom script: local unit u = GetTriggerUnit()
-
Custom script: set udg_Fireskycaster = u
-
Unit Group - Add Fireskycaster to Meteorstrike
-
Custom script: set udg_Fireskycaster = null
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in Meteorstrike) Equal to 1
-
-
Then - Actions
-
Trigger - Turn on firesky effect <gen>
-
-
Else - Actions
-
-
Wait 20.00 seconds
-
Custom script: set udg_Fireskycaster = u
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Fireskycaster is alive) Equal to True
-
-
Then - Actions
-
Unit Group - Remove Fireskycaster from Meteorstrike
-
-
Else - Actions
-
Custom script: set udg_Fireskycaster = null
-
-
-
Custom script: set u = null
-
-
-
firesky effect
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Meteorstrike is empty) Equal to False
-
-
Then - Actions
-
Unit Group - Pick every unit in Meteorstrike and do (Actions)
-
Loop - Actions
-
Set Fireskycaster = (Picked unit)
-
Set TempPoint1 = (Position of Fireskycaster)
-
Set TEmppoint2 = (TempPoint1 offset by (Random real number between 300.00 and 600.00) towards (Random real number between 0.00 and 360.00) degrees)
-
Unit - Create 1 Dummy Firesky for (Owner of Fireskycaster) at TempPoint1 facing 0.00 degrees
-
Unit - Add ACOPLAYPSE DUMMY to (Last created unit)
-
Unit - Order (Last created unit) to Human Blood Mage - Flame Strike TEmppoint2
-
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_TempPoint1)
-
Custom script: call RemoveLocation(udg_TEmppoint2)
-
-
-
-
Else - Actions
-
-
-
-
Fire sky megall Die
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Triggering unit) is in Meteorstrike) Equal to True
-
-
Actions
-
Unit Group - Remove (Triggering unit) from Meteorstrike
-
-
Last edited: