• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Deadly Meteor [MUI]

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
It called from the depths of space, a meteor which impacted upon its target causes damage to the units within the area of collision.


Previews:

73547991.jpg






30878007.jpg






Keywords:
Deadly, Meteor, Gui, MUI, Spell, AoE
Contents

Deadly Meteor (Map)

Reviews
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. Add importing instructions into the map file Add learn hotkey Tell the hotkey in tooltips Tooltips contain other language than English Tooltips have bad grammar About crow form The...

Moderator

M

Moderator

12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.

Reviewed by Maker, Deadly Meteor, 10th Feb 2012

  • Add importing instructions into the map file
  • Add learn hotkey
  • Tell the hotkey in tooltips
  • Tooltips contain other language than English
  • Tooltips have bad grammar
  • About crow form
  • The looping trigger leaks unit group
  • Eff should not be on all the time
  • These can refer to a wrong unit
    • Unit - Remove XL_Dummy[XL_Integers[2]] from the game
    • Set XL_Dummy[XL_Integers[2]] = No unit
  • You should remove target point of ability being cast when you don't need it anymore
  • Destroy the group you create in init trigger
 
Level 6
Joined
Apr 16, 2011
Messages
158


  • Init
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Gran Meteorito
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • XL_Count[XL_Integers[1]] Equal to 0
        • Then - Actions
          • Trigger - Turn on Loop <gen>
        • Else - Actions
      • Set XL_Integers[1] = (XL_Integers[1] + 1)
      • Set XL_Integers[2] = (XL_Integers[2] + 1)
      • Set XL_Caster[XL_Integers[2]] = (Triggering unit)
      • Set XL_Punto[XL_Integers[2]] = (Target point of ability being cast)
      • Set XL_Count[XL_Integers[2]] = 0
      • Set XL_Tiempo[XL_Integers[2]] = 0
      • Set XL_Angle[XL_Integers[2]] = 0.00
      • Set XL_DummyNumber[XL_Integers[2]] = 10
      • Set XL_Height[XL_Integers[2]] = 75
      • Set XL_Damage[XL_Integers[2]] = (100.00 x (Real((Level of Gran Meteorito for XL_Caster[XL_Integers[2]]))))
      • Set XL_Group[XL_Integers[2]] = (Units within 400.00 of XL_Punto[XL_Integers[2]] matching ((((Matching unit) belongs to an enemy of (Owner of XL_Caster[XL_Integers[2]])) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is alive) Equal to True))))
      • For each (Integer A) from 0 to XL_DummyNumber[XL_Integers[2]], do (Actions)
        • Loop - Actions
          • Set XL_Angle[XL_Integers[2]] = (XL_Angle[XL_Integers[2]] + (360.00 / (Real(XL_DummyNumber[XL_Integers[2]]))))
          • Set XL_TempPoint[XL_Integers[2]] = (XL_Punto[XL_Integers[2]] offset by 300.00 towards XL_Angle[XL_Integers[2]] degrees)
          • Special Effect - Create a special effect at XL_TempPoint[XL_Integers[2]] using Abilities\Spells\Demon\RainOfFire\RainOfFireTarget.mdl
          • Special Effect - Destroy (Last created special effect)
          • Custom script: call RemoveLocation(udg_XL_TempPoint[udg_XL_Integers[2]])
      • Unit - Create 1 Dummy Caster for (Owner of XL_Caster[XL_Integers[2]]) at XL_Punto[XL_Integers[2]] facing Default building facing degrees
      • Set XL_Dummy[XL_Integers[2]] = (Last created unit)
      • Unit - Turn collision for XL_Dummy[XL_Integers[2]] Off
      • Animation - Change XL_Dummy[XL_Integers[2]] flying height to (Real(XL_Height[XL_Integers[2]])) at 700.00
      • Unit - Add a 0.80 second Generic expiration timer to XL_Dummy[XL_Integers[2]]


  • Loop
    • Events
      • Time - Every 0.04 seconds of game time
    • Conditions
    • Actions
      • For each (Integer XL_Integers[3]) from 1 to XL_Integers[2], do (Actions)
        • Loop - Actions
          • Set XL_Tiempo[XL_Integers[3]] = (XL_Tiempo[XL_Integers[3]] + 1)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • XL_Tiempo[XL_Integers[3]] Equal to 24
            • Then - Actions
              • Set XL_Group[XL_Integers[3]] = (Units within 400.00 of XL_Punto[XL_Integers[3]] matching ((((Matching unit) belongs to an enemy of (Owner of XL_Caster[XL_Integers[3]])) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is alive) Equal to True))))
              • Unit Group - Pick every unit in XL_Group[XL_Integers[3]] and do (Actions)
                • Loop - Actions
                  • Unit - Pause (Picked unit)
                  • Unit - Cause XL_Caster[XL_Integers[3]] to damage (Picked unit), dealing XL_Damage[XL_Integers[3]] damage of attack type Spells and damage type Normal
                  • Unit - Add Crow Form to (Picked unit)
                  • Unit - Remove Crow Form from (Picked unit)
                  • Animation - Change (Picked unit) flying height to 800.00 at 1200.00
                  • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\Flare\FlareCaster.mdl
                  • Special Effect - Destroy (Last created special effect)
                  • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\HowlOfTerror\HowlCaster.mdl
                  • Special Effect - Destroy (Last created special effect)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • XL_Tiempo[XL_Integers[3]] Equal to 50
            • Then - Actions
              • Unit Group - Pick every unit in XL_Group[XL_Integers[3]] and do (Actions)
                • Loop - Actions
                  • Animation - Change (Picked unit) flying height to 0.00 at 1200.00
                  • Unit - Unpause (Picked unit)
              • Custom script: call DestroyGroup(udg_XL_Group[udg_XL_Integers[3]])
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • XL_Tiempo[XL_Integers[3]] Equal to 60
            • Then - Actions
              • Set XL_Integers[1] = (XL_Integers[1] - 1)
              • Set XL_Caster[XL_Integers[3]] = No unit
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • XL_Integers[1] Equal to 0
                • Then - Actions
                  • Set XL_Integers[2] = 0
                  • Trigger - Turn off (This trigger)
                • Else - Actions
            • Else - Actions



  • Eff
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Dummy Caster
    • Actions
      • Set Extra_Point = (Position of (Triggering unit))
      • Special Effect - Create a special effect at Extra_Point using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Remove XL_Dummy[XL_Integers[2]] from the game
      • Set XL_Dummy[XL_Integers[2]] = No unit
      • Custom script: call RemoveLocation(udg_Extra_Point)


 
Top