• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Meteor Stom v1.0

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
hello guys, this is my very first spell created
i hope there you guys enjoy it even if its only a simple spell
v1.0: Release


  • Meteor Storm
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Meteor Storm
    • Actions
      • Set Caster = (Casting unit)
      • Set Meteor_Storm_Point = (Position of Caster)
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Set Meteor_Storm_Hit[(Integer A)] = (Meteor_Storm_Point offset by (Random real number between -550.00 and 550.00) towards (Random angle) degrees)
      • Set Meteor_Storm_Timer = 0
      • Trigger - Turn on Meteor Storm Run <gen>

  • Meteor Storm Run
    • Events
      • Time - Every 0.25 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Meteor_Storm_Timer Less than or equal to 30
        • Then - Actions
          • Set Meteor_Storm_Timer = (Meteor_Storm_Timer + 1)
          • For each (Integer A) from 0 to (Meteor_Storm_Timer / 2), do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Meteor_Storm_Timer Greater than or equal to (4 + (2 x (Integer A)))
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Meteor_Storm_Timer Equal to (4 + (2 x (Integer A)))
                    • Then - Actions
                      • Special Effect - Create a special effect at Meteor_Storm_Hit[(Integer A)] using Objects\Spawnmodels\Human\HCancelDeath\HCancelDeath.mdl
                      • Special Effect - Destroy (Last created special effect)
                      • Unit Group - Pick every unit in (Units within 225.00 of Meteor_Storm_Hit[(Integer A)] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True)))) and do (Actions)
                        • Loop - Actions
                          • Unit - Cause Caster to damage (Picked unit), dealing (45.00 + (45.00 x (Real((Level of Unknown (A001) for Caster))))) damage of attack type Hero and damage type Magic
                          • Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Volcano\VolcanoMissile.mdl
                          • Special Effect - Destroy (Last created special effect)
                    • Else - Actions
                • Else - Actions
                  • Sound - Play FlameStrikeTargetWaveNonLoop1 <gen> at 100.00% volume, located at Meteor_Storm_Hit[(Integer A)] with Z offset 0.00
                  • Special Effect - Create a special effect at Meteor_Storm_Hit[(Integer A)] using Abilities\Spells\Undead\ReplenishMana\ReplenishManaCaster.mdl
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Meteor_Storm_Timer Equal to (2 + (2 x (Integer A)))
                    • Then - Actions
                      • Special Effect - Create a special effect at Meteor_Storm_Hit[(Integer A)] using Abilities\Spells\Demon\RainOfFire\RainOfFireTarget.mdl
                      • Special Effect - Destroy (Last created special effect)
                    • Else - Actions
        • Else - Actions
          • Trigger - Turn off (This trigger)
Please Enjoy My Simple Spell!!!

Keywords:
Meteor, Storm, Meteor Storm, Fire, Chaos, Meteor Storm v1.0
Contents

Meteor Storm (Map)

Reviews
13:52, 31st Dec 2009 TriggerHappy: Not MUI, nor MPI.

Moderator

M

Moderator

13:52, 31st Dec 2009
TriggerHappy:

Not MUI, nor MPI.
 
"can be only used once per 5 seconds to avoid bugs" said it all.

Triggering:

Replace your casting unit with triggering.

You run a periodic trigger(loop) to make it MUI use hashtables or indexing system(can be found here in spell section)

45.00 x (Real((Level of Unknown (A001) !?? -.-

Also you don't remove used locations, so this leaks pretty much.

You need to totally redo the whole trigger if you want this spell to be approved.
 
Level 19
Joined
Feb 25, 2009
Messages
2,004
You don't need to use array point for the integer A loop, a normal one will work fine

I suggest you to use unit-group veriable instead of matching unit, and if you don't don't forget to put set = wantDestroyGroup = true before the unit-group loop

The special FX after the played sound is not cleared
 
Top