ILH
Model Reviewer
- Joined
- May 8, 2012
- Messages
- 1,528
Yet second request from me
If you test this in-game, it's not MUI
Can someone point me out what's wrong with it?
If you test this in-game, it's not MUI
-
Meteor Init
-
Events
- Map initialization
- Conditions
-
Actions
-
For each (Integer TempInt) from 1 to 3, do (Actions)
-
Loop - Actions
- Set M_Aoe[TempInt] = (250.00 x (Real(TempInt)))
- Set M_Damage[TempInt] = (250.00 x (Real(TempInt)))
-
Loop - Actions
- Set M_Effect[0] = war3mapImported\ChaosMeteorV3.mdx
- Set M_Effect[1] = war3mapImported\NuclearExplosion.mdx
-
For each (Integer TempInt) from 1 to 3, do (Actions)
-
Events
-
Meteor Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Meteor
-
Actions
- Set M_MaxIndex = (M_MaxIndex + 1)
- Set M_Caster[M_MaxIndex] = (Triggering unit)
- Set M_Interval[M_MaxIndex] = 2.00
- Set M_Point[M_MaxIndex] = (Target point of ability being cast)
- Set M_Level[M_MaxIndex] = (Level of Meteor for M_Caster[M_MaxIndex])
- Set Point[0] = (Target point of ability being cast)
- Special Effect - Create a special effect at Point[0] using M_Effect[0]
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_Point[0])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_MaxIndex Equal to 1
-
Then - Actions
- Trigger - Turn on Meteor Loop <gen>
- Else - Actions
-
If - Conditions
-
Events
-
Meteor Loop
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
For each (Integer M_Index) from 1 to M_MaxIndex, do (Actions)
-
Loop - Actions
- Set M_Interval[M_Index] = (M_Interval[M_Index] - 0.03)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_Interval[M_Index] Less than or equal to 0.04
-
Then - Actions
- Set M_Group = (Units within M_Aoe[M_Level[M_Index]] of M_Point[M_Index])
-
Unit Group - Pick every unit in M_Group and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A ground unit) Equal to True
- ((Picked unit) is alive) Equal to True
- ((Picked unit) belongs to an enemy of (Owner of M_Caster[M_Index])) Equal to True
-
Then - Actions
- Unit - Cause M_Caster[M_Index] to damage (Picked unit), dealing M_Damage[M_Level[M_Index]] damage of attack type Spells and damage type Normal
- Floating Text - Create floating text that reads (String(M_Damage[M_Level[M_Index]])) above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 30.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Custom script: call DestroyGroup(udg_M_Group)
- Special Effect - Create a special effect at M_Point[M_Index] using M_Effect[1]
- Special Effect - Destroy (Last created special effect)
- Set M_Point[M_Index] = M_Point[M_MaxIndex]
- Custom script: call RemoveLocation(udg_M_Point[udg_M_MaxIndex])
- Set M_Caster[M_Index] = M_Caster[M_MaxIndex]
- Set M_Caster[M_MaxIndex] = No unit
- Set M_Interval[M_Index] = M_Interval[M_MaxIndex]
- Set M_Interval[M_MaxIndex] = 0.00
- Set M_Level[M_Index] = M_Level[M_MaxIndex]
- Set M_Level[M_MaxIndex] = 0
- Set M_Index = (M_Index - 1)
- Set M_MaxIndex = (M_MaxIndex - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- M_MaxIndex Equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
Else - Actions
- Floating Text - Create floating text that reads (String(M_Interval[M_Index])) at M_Point[M_Index] with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 30.00 towards 90.00 degrees
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
-
If - Conditions
-
Loop - Actions
-
For each (Integer M_Index) from 1 to M_MaxIndex, do (Actions)
-
Events