- Joined
- Oct 25, 2009
- Messages
- 996
Does the trigger has problem?If i remove the leaks,the missle won't move anymore,and sometimes if i cast the spell,the missle will keep going until it move to the map bounds and dissappear?
EDIT: And the special effect doesn't show up?
EDIT 2: +REP and is it MUI?If not MUI can tell me how can i change it into MUI?
EDIT: And the special effect doesn't show up?
EDIT 2: +REP and is it MUI?If not MUI can tell me how can i change it into MUI?
-
MW Cast
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Missle Wave
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




MW_Index1 Equal to 0
-
-



Then - Actions
-




Trigger - Turn on MW Loop <gen>
-
-



Else - Actions
-
-


Set MW_Index1 = (MW_Index1 + 1)
-


Set MW_Boolean[MW_Index1] = True
-


Set MW_Casting[MW_Index1] = (Triggering unit)
-


Set MW_TargetPoint[MW_Index1] = (Target point of ability being cast)
-


Unit - Create 1 Missle for (Owner of MW_Casting[MW_Index1]) at (Position of MW_Casting[MW_Index1]) facing (Facing of MW_Casting[MW_Index1]) degrees
-


Set MW_Missle[MW_Index1] = (Last created unit)
-
-
-
MW Loop
-

Events
-


Time - Every 0.02 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer MW_IndexLoop) from 1 to MW_Index1, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






MW_Boolean[MW_IndexLoop] Equal to True
-
-





Then - Actions
-






Unit - Move MW_Missle[MW_IndexLoop] instantly to ((Position of MW_Missle[MW_IndexLoop]) offset by 20.00 towards (Facing of MW_Missle[MW_IndexLoop]) degrees)
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Distance between (Position of MW_Missle[MW_IndexLoop]) and MW_TargetPoint[MW_IndexLoop]) Less than or equal to 100.00
-
-







Then - Actions
-








Special Effect - Create a special effect attached to the origin of MW_Missle[MW_IndexLoop] using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
-








Special Effect - Destroy (Last created special effect)
-








Unit - Cause MW_Missle[MW_IndexLoop] to damage circular area after 0.00 seconds of radius 300.00 at (Position of MW_Missle[MW_IndexLoop]), dealing 200.00 damage of attack type Spells and damage type Normal
-








Unit - Kill MW_Missle[MW_IndexLoop]
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










MW_Index1 Equal to 0
-
-









Then - Actions
-










Set MW_Index1 = 0
-










Trigger - Turn off (This trigger)
-
-









Else - Actions
-
-








Set MW_Boolean[MW_Index1] = False
-








Set MW_Index1 = (MW_Index1 - 1)
-
-







Else - Actions
-
-
-





Else - Actions
-
-
-
-
-
Last edited:








