- Joined
- Jun 23, 2008
- Messages
- 22
This spell will only cast the first time and i can't find any bugs. the idea of this spell is to create a trail of flame behind a unit then stop the trail then wait 5 seconds then destroy the trail. the first time works perfectly. plz help[RAINBOW]
[/RAINBOW]

-
Cast Blaze
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Triggering unit) Equal to (Random unit from (Units owned by Player 1 (Red) matching ((Ability being cast) Equal to Blaze )))
-
-
Actions
-
Set Blazeunit[1] = (Triggering unit)
-
Trigger - Turn on Blaze <gen>
-
-
-
Blaze
-
Events
-
Time - Every 0.10 seconds of game time
-
-
Conditions
-
Actions
-
Unit - Create 1 Peasant for Player 1 (Red) at ((Position of Mountain King 0000 <gen>) offset by -100.00 towards (Facing of Mountain King 0000 <gen>) degrees) facing Default building facing degrees
-
Unit Group - Add (Last created unit) to FireUnitGroup
-
Set StopBlaze = (StopBlaze + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
StopBlaze Equal to 55
-
-
Then - Actions
-
Trigger - Turn off Blaze <gen>
-
Set StopBlaze = 0
-
Wait 5.00 seconds
-
Unit Group - Pick every unit in FireUnitGroup and do (Unit - Kill (Picked unit))
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
-
-