I tested this and looked into million times, but still can't find the problem here. The spell is supossed to create little flares every 0.04 seconds for 4 seconds further and further so they would form a line.
The only time this occured is when i casted them near a creep and they walked over it.
I just can't figure the error in this trigger, and i could use a fresh pair of eyes.
Please help
The only time this occured is when i casted them near a creep and they walked over it.
I just can't figure the error in this trigger, and i could use a fresh pair of eyes.
Please help
-
Burning Wake Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to (==) Burning Wake
-
Actions
- Set BurningWake_Angle = (Facing of (Triggering unit))
- Set BurningWake_Caster = (Casting unit)
- Set BurningWake_LocCaster = (Position of (Triggering unit))
- Set BurningWake_LocStart = (BurningWake_LocCaster offset by 200.00 towards BurningWake_Angle degrees)
- Trigger - Turn on Burning Wake <gen>
- Point - Remove BurningWake_LocCaster
-
Start BurningWake_Timer lasting 4.00 and One-shot and execute (Trigger - Turn off Burning Wake <gen>) when it expires
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Remaining time for BurningWake_Timer) Equal to (==) 0.00
-
Then - Actions
- Point - Remove BurningWake_LocStart
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Burning Wake
-
Events
- Time - Every 0.04 seconds of game time
- Conditions
-
Actions
- Set BurningWake_LocNext = (BurningWake_LocStart offset by 7.00 towards BurningWake_Angle degrees)
- Unit - Create 1 Sun Flare for Neutral Passive at BurningWake_LocNext facing Default building facing (270.0) degrees
-
Unit Group - Pick every unit in (Units within 180.00 of BurningWake_LocNext) and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Picked unit)) is an enemy of (Owner of BurningWake_Caster)) Equal to (==) True
-
Then - Actions
- Unit - Cause BurningWake_Caster to damage circular area after 0.00 seconds of radius 180.00 at BurningWake_LocNext, dealing 0.10 damage of attack type Spells and damage type Normal
- Unit - Turn collision for (Last created unit) Off
- Set BurningWake_LocStart = (Position of (Last created unit))
- Special Effect - Create a special effect attached to the overhead of (Picked unit) using Environment\SmallBuildingFire\SmallBuildingFire2.mdl
- Special Effect - Destroy (Last created special effect)
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Point - Remove BurningWake_LocNext
- Wait 3.90 seconds
-
Unit Group - Pick every unit in (Units within 200.00 of BurningWake_LocStart) and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Picked unit)) Equal to (==) Sun Flare
-
Then - Actions
- Unit - Remove (Picked unit) from the game
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events