1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Menag's Spellpack [GUI]

Submitted by Menag
This bundle is marked as approved. It works and satisfies the submission rules.
Well this is my first spell(pack) im uploading.
Atm there are just 2 spells but i will add more.
Comments and critic is welcome.
The spells are completely made by me.

Green Ball
  • HashtableGreenBall
    • Ereignisse
      • Map initialization
    • Bedingungen
    • Aktionen
      • Hashtabelle - Create a hashtable
      • Set GreenBallHashtable = (Last created hashtable)


  • GreenBallCast
    • Ereignisse
      • Einheit - A unit Startet den Effekt einer Fähigkeit
    • Bedingungen
      • (Ability being cast) Gleich GreenBall [Q]
    • Aktionen
      • Set TempUnit = (Triggering unit)
      • Set TempPoint = (Position of TempUnit)
      • Set TempPoint1 = (Target point of ability being cast)
      • -------- ----------------------------------- --------
      • -------- Set Angle --------
      • -------- ----------------------------------- --------
      • Set TempAngle = (Angle from TempPoint to TempPoint1)
      • Custom script: call RemoveLocation(udg_TempPoint1)
      • -------- ----------------------------------- --------
      • -------- Distance per second --------
      • -------- 0.04 is the time in the periodic event from the "MoveTrigger" --------
      • -------- Increase the 400 to have a faster moving ball, decrease it to make the ball slower --------
      • -------- ----------------------------------- --------
      • Set TempDistance = (400.00 x 0.04)
      • -------- ----------------------------------- --------
      • -------- Duration --------
      • -------- Change the Duration to what you want, it says, how long the ball will fly --------
      • -------- ----------------------------------- --------
      • Set TempDuration = ((Real((Level of (Ability being cast) for TempUnit))) x 1.00)
      • -------- ----------------------------------- --------
      • -------- Create DummyUnit --------
      • -------- ----------------------------------- --------
      • Set TempPoint1 = (TempPoint offset by 100.00 towards TempAngle degrees)
      • Einheit - Create 1 GreenBallDummy for (Owner of TempUnit) at TempPoint facing TempAngle degrees
      • Set TempUnit = (Last created unit)
      • Einheit - Add GreenBallDummySpell1 to TempUnit
      • Einheit - Set level of GreenBallDummySpell1 for TempUnit to (Level of (Ability being cast) for (Triggering unit))
      • Einheit - Make TempUnit Unverwundbar
      • Einheit - Set life of TempUnit to 1.00
      • Einheit - Add a TempDuration second Standard expiration timer to TempUnit
      • Einheitengruppe - Add TempUnit to GreenBallGroup
      • -------- ----------------------------------- --------
      • -------- Store Values --------
      • -------- ----------------------------------- --------
      • Hashtabelle - Save TempAngle as 0 of (Key (Last created unit)) in GreenBallHashtable
      • Hashtabelle - Save TempDuration as 1 of (Key (Last created unit)) in GreenBallHashtable
      • Hashtabelle - Save TempDistance as 2 of (Key (Last created unit)) in GreenBallHashtable
      • -------- ----------------------------------- --------
      • -------- run movetrigger --------
      • -------- ----------------------------------- --------
      • Auslöser - Turn on MoveTrigger <gen>
      • -------- ----------------------------------- --------
      • -------- Leaks --------
      • -------- ----------------------------------- --------
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Custom script: call RemoveLocation(udg_TempPoint1)


  • MoveTrigger
    • Ereignisse
      • Zeit - Every 0.04 seconds of game time
    • Bedingungen
    • Aktionen
      • Einheitengruppe - Pick every unit in GreenBallGroup and do (Actions)
        • Schleifen - Aktionen
          • -------- ----------------------------------- --------
          • -------- Sets Values --------
          • -------- ----------------------------------- --------
          • Set TempUnit = (Picked unit)
          • Set TempPoint = (Position of TempUnit)
          • Set TempAngle = (Load 0 of (Key (Picked unit)) from GreenBallHashtable)
          • Set TempDuration = (Load 1 of (Key (Picked unit)) from GreenBallHashtable)
          • Set TempDistance = (Load 2 of (Key (Picked unit)) from GreenBallHashtable)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • TempDuration Größer als 0.00
            • 'THEN'-Aktionen
              • -------- ----------------------------------- --------
              • -------- Moves the unit --------
              • -------- ----------------------------------- --------
              • Set TempPoint1 = (TempPoint offset by TempDistance towards TempAngle degrees)
              • Einheit - Move TempUnit instantly to TempPoint1
              • Hashtabelle - Save (TempDuration - 0.04) as 1 of (Key (Picked unit)) in GreenBallHashtable
              • -------- ----------------------------------- --------
              • -------- Leaks --------
              • -------- ----------------------------------- --------
              • Custom script: call RemoveLocation(udg_TempPoint)
              • Custom script: call RemoveLocation(udg_TempPoint1)
            • 'ELSE'-Aktionen
              • Set TempUnit = (Picked unit)
              • Einheit - Kill TempUnit
              • Einheitengruppe - Remove TempUnit from GreenBallGroup
              • Einheit - Remove TempUnit from the game
              • Hashtabelle - Clear all child hashtables of child (Key (Picked unit)) in GreenBallHashtable
              • -------- ----------------------------------- --------
              • -------- turn off trigger --------
              • -------- ----------------------------------- --------
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • (Number of units in GreenBallGroup) Gleich 0
                • 'THEN'-Aktionen
                  • Auslöser - Turn off (This trigger)
                • 'ELSE'-Aktionen
              • -------- ----------------------------------- --------
              • -------- Leaks --------
              • -------- ----------------------------------- --------
              • Custom script: call RemoveLocation(udg_TempPoint)


Lightning Ball
  • HashtableLightning
    • Ereignisse
      • Map initialization
    • Bedingungen
    • Aktionen
      • Hashtabelle - Create a hashtable
      • Set LightningBallHashtable = (Last created hashtable)


  • LightningBallCast
    • Ereignisse
      • Einheit - A unit Startet den Effekt einer Fähigkeit
    • Bedingungen
      • (Ability being cast) Gleich LightningBall [W]
    • Aktionen
      • -------- ----------------------------------- --------
      • -------- Set Values --------
      • -------- ----------------------------------- --------
      • Set TempUnit = (Triggering unit)
      • Set TempPoint = (Target point of ability being cast)
      • -------- ----------------------------------- --------
      • -------- Duration --------
      • -------- The longer the Spell gets channeled, the more dmg it does --------
      • -------- ----------------------------------- --------
      • Set TempDuration = ((Real((Level of (Ability being cast) for TempUnit))) x 1.00)
      • -------- ----------------------------------- --------
      • -------- Create Dummy Unit --------
      • -------- ----------------------------------- --------
      • Einheit - Create 1 LightningDummy for (Owner of TempUnit) at TempPoint facing 0.00 degrees
      • Set TempUnit = (Last created unit)
      • Einheitengruppe - Add TempUnit to LightningBallGroup
      • -------- ----------------------------------- --------
      • -------- Store Values --------
      • -------- ----------------------------------- --------
      • Set TempUnit = (Triggering unit)
      • Hashtabelle - Save TempDuration as 1 of (Key (Last created unit)) in LightningBallHashtable
      • Hashtabelle - Save (Real((Key (Last created unit)))) as 2 of (Key (Triggering unit)) in LightningBallHashtable
      • Hashtabelle - Save (Player number of (Owner of TempUnit)) as 3 of (Key (Last created unit)) in (Last created hashtable)
      • Hashtabelle - Save (TempDuration + 0.00) as 5 of (Key (Last created unit)) in LightningBallHashtable
      • -------- ----------------------------------- --------
      • -------- run movetrigger --------
      • -------- ----------------------------------- --------
      • Auslöser - Turn on ChannelingTrigger <gen>
      • -------- ----------------------------------- --------
      • -------- Leaks --------
      • -------- ----------------------------------- --------
      • Custom script: call RemoveLocation(udg_TempPoint)


  • ChannelingTrigger
    • Ereignisse
      • Zeit - Every 0.50 seconds of game time
    • Bedingungen
    • Aktionen
      • Einheitengruppe - Pick every unit in LightningBallGroup and do (Actions)
        • Schleifen - Aktionen
          • -------- ----------------------------------- --------
          • -------- Sets Values --------
          • -------- ----------------------------------- --------
          • Set TempUnit = (Picked unit)
          • Set TempDuration = (Load 1 of (Key (Picked unit)) from LightningBallHashtable)
          • Set TempReal = (Load 5 of (Key (Picked unit)) from LightningBallHashtable)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • TempDuration Größer als 0.00
            • 'THEN'-Aktionen
              • -------- ----------------------------------- --------
              • -------- Increases the size of the lightningball --------
              • -------- ----------------------------------- --------
              • Animation - Change TempUnit's size to ((((TempReal - TempDuration) x 150.00) + 100.00)%, (((TempReal - TempDuration) x 150.00) + 100.00)%, (((TempReal - TempDuration) x 150.00) + 100.00)%) of its original size
              • Hashtabelle - Save (TempDuration - 0.50) as 1 of (Key (Picked unit)) in LightningBallHashtable
              • -------- ----------------------------------- --------
              • -------- Increases the dmg which will be dealt, at the moment it is 150 dmg per 0.5 seconds --------
              • -------- ----------------------------------- --------
              • Hashtabelle - Save ((Load 4 of (Key (Picked unit)) from LightningBallHashtable) + 75.00) as 4 of (Key (Picked unit)) in LightningBallHashtable
            • 'ELSE'-Aktionen
              • -------- ----------------------------------- --------
              • -------- Sets Values --------
              • -------- ----------------------------------- --------
              • Set TempInteger = (Load 3 of (Key (Picked unit)) from LightningBallHashtable)
              • Set TempReal = (Load 4 of (Key (Picked unit)) from LightningBallHashtable)
              • Set TempPoint = (Position of TempUnit)
              • -------- ----------------------------------- --------
              • -------- adds all units who will get dmg into a unitgroup --------
              • -------- change the 600 to increase/decrease the radius of the aoe --------
              • -------- ----------------------------------- --------
              • Set TempGroup = (Units within 600.00 of TempPoint matching ((((Owner of TempUnit) is an enemy of (Owner of (Matching unit))) Gleich True) and (((Matching unit) is alive) Gleich True)))
              • Einheitengruppe - Remove TempUnit from LightningBallGroup
              • Einheit - Remove TempUnit from the game
              • -------- ----------------------------------- --------
              • -------- Leaks --------
              • -------- ----------------------------------- --------
              • Custom script: call RemoveLocation(udg_TempPoint)
              • -------- ----------------------------------- --------
              • -------- runs the dmgtrigger --------
              • -------- ----------------------------------- --------
              • Auslöser - Run DmgTrigger <gen> (checking conditions)
              • -------- ----------------------------------- --------
              • -------- Removes some things --------
              • -------- ----------------------------------- --------
              • Hashtabelle - Clear all child hashtables of child (Key (Picked unit)) in LightningBallHashtable
              • -------- ----------------------------------- --------
              • -------- turn off trigger --------
              • -------- ----------------------------------- --------
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • (Number of units in LightningBallGroup) Gleich 0
                • 'THEN'-Aktionen
                  • Auslöser - Turn off (This trigger)
                • 'ELSE'-Aktionen


  • DmgTrigger
    • Ereignisse
    • Bedingungen
    • Aktionen
      • Einheitengruppe - Pick every unit in TempGroup and do (Actions)
        • Schleifen - Aktionen
          • Set TempPoint = (Position of (Picked unit))
          • Einheit - Cause TempUnit to damage (Picked unit), dealing TempReal damage of attack type Zaubersprüche and damage type Magie
          • Spezialeffekt - Create a special effect at TempPoint using Abilities\Weapons\Bolt\BoltImpact.mdl
          • Spezialeffekt - Destroy (Last created special effect)
          • -------- ----------------------------------- --------
          • -------- Leaks --------
          • -------- ----------------------------------- --------
          • Custom script: call RemoveLocation(udg_TempPoint)
      • -------- ----------------------------------- --------
      • -------- Leaks --------
      • -------- ----------------------------------- --------
      • Custom script: call DestroyGroup(udg_TempGroup)


Rush
  • HashtableRush
    • Ereignisse
      • Map initialization
    • Bedingungen
    • Aktionen
      • Hashtabelle - Create a hashtable
      • Set RushHashtable = (Last created hashtable)
  • RushCast
    • Ereignisse
      • Einheit - A unit Startet den Effekt einer Fähigkeit
    • Bedingungen
      • (Ability being cast) Gleich Rush [E]
    • Aktionen
      • -------- ----------------------------------- --------
      • -------- Set some values --------
      • -------- ----------------------------------- --------
      • Set TempUnit = (Triggering unit)
      • Set TempPoint = (Target point of ability being cast)
      • Set TempReal1 = (X of TempPoint)
      • Set TempReal2 = (Y of TempPoint)
      • Set TempDuration = 1.20
      • Set TempInteger = (Level of (Ability being cast) for TempUnit)
      • -------- ----------------------------------- --------
      • -------- store values --------
      • -------- ----------------------------------- --------
      • Hashtabelle - Save TempReal1 as 0 of (Key (Triggering unit)) in RushHashtable
      • Hashtabelle - Save TempReal2 as 1 of (Key (Triggering unit)) in RushHashtable
      • Hashtabelle - Save TempInteger as 2 of (Key (Triggering unit)) in RushHashtable
      • Hashtabelle - Save TempDuration as 7 of (Key (Triggering unit)) in RushHashtable
      • Einheitengruppe - Add (Triggering unit) to RushGroup
      • -------- ----------------------------------- --------
      • -------- run movetrigger --------
      • -------- ----------------------------------- --------
      • Auslöser - Turn on RushMove <gen>
      • -------- ----------------------------------- --------
      • -------- leaks --------
      • -------- ----------------------------------- --------
      • Custom script: call RemoveLocation(udg_TempPoint)


  • RushMove
    • Ereignisse
      • Zeit - Every 0.04 seconds of game time
    • Bedingungen
    • Aktionen
      • Einheitengruppe - Pick every unit in RushGroup and do (Actions)
        • Schleifen - Aktionen
          • -------- ----------------------------------- --------
          • -------- Sets Values --------
          • -------- ----------------------------------- --------
          • Set TempUnit = (Picked unit)
          • Set TempDuration = (Load 7 of (Key (Picked unit)) from RushHashtable)
          • Set TempPoint1 = (Position of TempUnit)
          • Set TempReal1 = (Load 0 of (Key (Picked unit)) from RushHashtable)
          • Set TempReal2 = (Load 1 of (Key (Picked unit)) from RushHashtable)
          • Set TempPoint = (Point(TempReal1, TempReal2))
          • Set TempAngle = (Angle from TempPoint1 to TempPoint)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • Or - Any (Conditions) are true
                • Bedingungen
                  • (Distance between TempPoint and TempPoint1) Kleiner als 50.00
                  • TempDuration Gleich 0.00
            • 'THEN'-Aktionen
              • Einheitengruppe - Remove TempUnit from RushGroup
              • Hashtabelle - Clear all child hashtables of child (Key (Picked unit)) in RushHashtable
              • -------- ----------------------------------- --------
              • -------- turn off trigger --------
              • -------- ----------------------------------- --------
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • (Number of units in RushGroup) Gleich 0
                • 'THEN'-Aktionen
                  • Auslöser - Turn off (This trigger)
                • 'ELSE'-Aktionen
            • 'ELSE'-Aktionen
              • Custom script: call RemoveLocation(udg_TempPoint)
              • Set TempPoint = (TempPoint1 offset by 20.00 towards TempAngle degrees)
              • Einheit - Move TempUnit instantly to TempPoint, facing TempAngle degrees
              • -------- ----------------------------------- --------
              • -------- leaks --------
              • -------- ----------------------------------- --------
              • Custom script: call RemoveLocation(udg_TempPoint)
              • Hashtabelle - Save (TempDuration - 0.04) as 7 of (Key (Picked unit)) in RushHashtable
              • Spezialeffekt - Create a special effect at TempPoint1 using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
              • Spezialeffekt - Destroy (Last created special effect)
              • Custom script: call RemoveLocation(udg_TempPoint1)
              • Set TempPoint1 = (Position of TempUnit)
              • Set RushSetValuesGroup = (Units within 150.00 of TempPoint1 matching ((((Owner of TempUnit) is an enemy of (Owner of (Matching unit))) Gleich True) and (((Matching unit) is alive) Gleich True)))
              • Set TempInteger = (Load 2 of (Key (Picked unit)) from RushHashtable)
              • Auslöser - Run KnockbackTriggerSetValues <gen> (ignoring conditions)


  • KnockbackTriggerSetValues
    • Ereignisse
    • Bedingungen
    • Aktionen
      • Einheitengruppe - Pick every unit in RushSetValuesGroup and do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • ((Picked unit) has buff Betäubt (Pause)) Gleich True
            • 'THEN'-Aktionen
            • 'ELSE'-Aktionen
              • Einheit - Create 1 Dummy for (Owner of TempUnit) at TempPoint1 facing 0.00 degrees
              • Einheit - Add RushDummySpell1 to (Last created unit)
              • Einheit - Add RushDummySpell2 to (Last created unit)
              • Einheit - Set level of RushDummySpell2 for (Last created unit) to TempInteger
              • Einheit - Order (Last created unit) to Menschen-Bergkönig - 'Sturmschlag' (Picked unit)
              • Einheit - Order (Last created unit) to Nachtelf-Klauen-Druide - 'Feenfeuer' (Picked unit)
              • Einheit - Add a 2.00 second Standard expiration timer to (Last created unit)
              • -------- ----------------------------------- --------
              • -------- Change this to increase/decrease the dmg --------
              • -------- ----------------------------------- --------
              • Einheit - Cause TempUnit to damage (Picked unit), dealing ((Real(TempInteger)) x 25.00) damage of attack type Zaubersprüche and damage type Normal
          • Set TempUnit = (Picked unit)
          • Set TempPoint = (Position of TempUnit)
          • Set TempAngle = (Angle from TempPoint1 to TempPoint)
          • Set TempDuration = (0.25 x (Real(TempInteger)))
          • Set TempDistance = 6.00
          • Hashtabelle - Save TempAngle as 3 of (Key (Picked unit)) in RushHashtable
          • Hashtabelle - Save TempDuration as 4 of (Key (Picked unit)) in RushHashtable
          • Hashtabelle - Save TempDistance as 5 of (Key (Picked unit)) in RushHashtable
          • Einheit - Pause ein TempUnit
          • Einheitengruppe - Add TempUnit to RushKnockbackGroup
          • -------- ----------------------------------- --------
          • -------- leaks --------
          • -------- ----------------------------------- --------
          • Custom script: call RemoveLocation(udg_TempPoint)
      • -------- ----------------------------------- --------
      • -------- run movetrigger --------
      • -------- ----------------------------------- --------
      • Auslöser - Turn on KnockbackTrigger <gen>
      • -------- ----------------------------------- --------
      • -------- leaks --------
      • -------- ----------------------------------- --------
      • Custom script: call RemoveLocation(udg_TempPoint1)


  • KnockbackTrigger
    • Ereignisse
      • Zeit - Every 0.03 seconds of game time
    • Bedingungen
    • Aktionen
      • Einheitengruppe - Pick every unit in RushKnockbackGroup and do (Actions)
        • Schleifen - Aktionen
          • -------- ----------------------------------- --------
          • -------- Sets Values --------
          • -------- ----------------------------------- --------
          • Set TempUnit = (Picked unit)
          • Set TempPoint = (Position of TempUnit)
          • Set TempAngle = (Load 3 of (Key (Picked unit)) from RushHashtable)
          • Set TempDuration = (Load 4 of (Key (Picked unit)) from RushHashtable)
          • Set TempDistance = (Load 5 of (Key (Picked unit)) from RushHashtable)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • TempDuration Größer als 0.00
            • 'THEN'-Aktionen
              • -------- ----------------------------------- --------
              • -------- Moves the unit --------
              • -------- ----------------------------------- --------
              • Set TempPoint1 = (TempPoint offset by TempDistance towards TempAngle degrees)
              • Einheit - Move TempUnit instantly to TempPoint1
              • Spezialeffekt - Create a special effect at TempPoint1 using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
              • Hashtabelle - Save (TempDuration - 0.04) as 4 of (Key (Picked unit)) in RushHashtable
              • Spezialeffekt - Destroy (Last created special effect)
              • -------- ----------------------------------- --------
              • -------- leaks --------
              • -------- ----------------------------------- --------
              • Custom script: call RemoveLocation(udg_TempPoint1)
              • Custom script: call RemoveLocation(udg_TempPoint)
            • 'ELSE'-Aktionen
              • Einheit - Pause aus (Picked unit)
              • Einheitengruppe - Remove TempUnit from RushKnockbackGroup
              • Hashtabelle - Clear all child hashtables of child (Key (Picked unit)) in RushHashtable
              • -------- ----------------------------------- --------
              • -------- turn off trigger --------
              • -------- ----------------------------------- --------
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Bedingungen
                  • (Number of units in RushKnockbackGroup) Gleich 0
                • 'THEN'-Aktionen
                  • Auslöser - Turn off (This trigger)
                • 'ELSE'-Aktionen


as my editor is german some parts of it are also german...

Changes:
-Removed Sound from Lightning Ball
-Fixed a bug with Lightning Ball
-Fixed Healingamount of the Green Ball spell
-Turned off channeling and movetrigger if no unit is in the unitgroup
-Removed the Healeffect from the Green Ball spell
-Added a new spell (i dont really like the spell but ok)
-fixed some small things, nothing important
-fixed the fatal error mentioned in the comments (was somehow caused of a unit which got created i made it different now...)
-removed the leaks HappyTrigger (or TriggerHappy cant remember) mentioned, didn't knew that

i wont make any further spell i learned jass so this will be my last gui spell

Credits:
Muzzel for teaching me how to trigger

Keywords:
GUI, Spellpack, Magespells, Spells, Spell, Mage
Contents

Spelltest (Map)

Reviews
Moderator
Hanky: Now it looks fine enough for an approval. The only thing you could improve is that you shrink some two trigger to one in some cases.
  1. Hanky:
    Now it looks fine enough for an approval. The only thing you could improve is that you shrink some two trigger to one in some cases.
     
  2. Whisper

    Whisper

    Joined:
    Jul 13, 2008
    Messages:
    377
    Resources:
    0
    Resources:
    0
    I like Green ball spell but the second one is weird :/
    This red lighting dummy just sux :/
    and this Beastmaster's Ulti sound at casting :D
    Remove it and improve Red Lighting Dummy :p
     
  3. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    yes i didnt change the sound^^

    what exactly sux at the dummy?
     
    Last edited: Oct 4, 2009
  4. Coolty44

    Coolty44

    Joined:
    Dec 10, 2008
    Messages:
    576
    Resources:
    1
    Spells:
    1
    Resources:
    1
    So, is this your first spells? Becuase if they are, then, god freakin job! I looked over the code quick, and it looks leak free, but other then that, I don't know, since I don't wanna learn Hashtables.

    Both spells seem alittle overpowered, but I'm sure that could be changed. I think you could also squash them to 1-2 triggers each, since that loop is all by itself.

    Other then that, 4/5, GJ
     
  5. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    thx =D
    well im triggering now for like a month and those are my first "bigger" spells and my first spells with hashtables

    well i found a bug and fixed that i just have to upload new version :d
     
  6. darkreapers

    darkreapers

    Joined:
    Jun 1, 2009
    Messages:
    86
    Resources:
    0
    Resources:
    0
    the green ball spell is nice, but u didnt turn off the movement trigger
     
  7. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    yeah i thought at that too yesterday but i wanted to sleep instead changing it
    i'll do it now :)
     
  8. darkreapers

    darkreapers

    Joined:
    Jun 1, 2009
    Messages:
    86
    Resources:
    0
    Resources:
    0
    ahh isnt sleep always a bitch lol
     
  9. kola

    kola

    Joined:
    Sep 11, 2009
    Messages:
    1,534
    Resources:
    121
    Icons:
    115
    Packs:
    2
    Skins:
    1
    Spells:
    3
    Resources:
    121
    Add the triggers in description plz.

    **going in world edit**

    everything is ok but i think Lightning Ball lacks of effect. maybe some Lightning effects would be nice.
     
  10. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    yeah i thought at that too but i didn't knew what to add

    how to make those tags that you have to click "show" for opening the text in it?
     
  11. BlackHawk

    BlackHawk

    Joined:
    Nov 8, 2009
    Messages:
    21
    Resources:
    4
    Spells:
    4
    Resources:
    4
    You just have to use the hidden tags:

    [hidden=Heading]-----Text-----[/hidden]

    If you want to show the triggers use after the hidden tag the tag [TRIGGER]--Triggers[/TRIGGER]

    Here is a list of BB codes http://www.hiveworkshop.com/forums/misc.php?do=bbcode

    Hope that helps you :)

    ~BlackHawk
     
  12. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    thanks
     
  13. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,181
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    • Set TempPoint = (TempPoint offset by 100.00 towards TempAngle degrees)

    -> Set TempPoint1 = ...

    MoveTrigger should be initially off.

    • Unit - Move TempUnit instantly to (TempPoint offset by TempDistance towards TempAngle degrees)

    Leaks offset location.

    • Set TempUnit = No unit

    Kind of unnecessary, globals don't really cause leaks.

    • Custom script: call DestroyGroup(udg_TempGroup)
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Custom script: call RemoveLocation(udg_TempPoint1)

    There's no TempGroup, no TempPoint1 in that trigger. Remove TempPoint should be inside the loop.

    IF/THEN/ELSE -> Turn of trigger in MoveTrigger should be moved to after your remove TempUnit from the game.

    You don't cleat hashtables in that trigger.

    • LightningBallCast Kopieren
      • Actions
        • Custom script: call RemoveLocation(udg_TempPoint1)

    There's no TempPoint1 there.

    • Set TempUnit = No unit

    Unnecessary.

    • Custom script: call RemoveLocation(udg_TempPoint)
    • Custom script: call DestroyGroup(udg_TempGroup)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of units in LightningBallGroup) Equal to 0
      • Then - Actions
        • Trigger - Turn off (This trigger)
      • Else - Actions

    Should be in ELSE branch.

    • Custom script: call RemoveLocation(udg_TempPoint)

    In DmgTriggerKopieren, this should be inside the loop. Why is that trigger even a separate trigger?

    In RushMove -trigger:

    • Unit - Move TempUnit instantly to (TempPoint1 offset by 20.00 towards TempAngle degrees), facing TempAngle degrees

    Leaks.

    Turn of trigger and leak removals in wrong place.

    Same thing with the rest of the triggers.
     
  14. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    well i forgot to turn off the move trigger from green ball
    the rest are turned off

    no.

    the rest is fixed as you wanted it
     
  15. Atami

    Atami

    Joined:
    Oct 9, 2008
    Messages:
    109
    Resources:
    0
    Resources:
    0
    german:
    ja hi menag,

    du kennst mich sicher aus dem clan, (x-bl4d3d4nc3r-x) also, sobald ich den lightning ball caste, und der größer wird also, wenn er die volle größe erreicht, bekomme ich einen fatal error...

    english:
    hi menag,
    if i cats the lightning ball, and the ball get his biggest size, i get an fatal error...

    mfg
    bl4d3
     
  16. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    i'll try to find the bug
    it never occured to me.. :/
     
  17. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,181
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Ok, then tell me this: How can the size of the group be 0 if it's >0 when the trigger runs, and you don't remove any units from the group?

    Why do you need to remove location, if you don't set it?

    Why do you have to destroy a group, if you don't create it?

    • Set TempPoint = (TempPoint offset by 100.00 towards TempAngle degrees)

    ->
    • TempPoint1 = TempPoint offset by...
     
  18. Menag

    Menag

    Joined:
    Aug 26, 2009
    Messages:
    188
    Resources:
    4
    Spells:
    1
    Wurst:
    3
    Resources:
    4
    when the number of units in this group is 0
    than the trigger shall be turned off
    that's exactly what the if then else there does

    those locations and groups i forgot because i removed parts of the code and made them better
    i just forgot to remove the custom scripts too..

    btw that should be already fixed
     
  19. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,181
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    You call those functions for nothing. They're in the wrong place. If you don't remove units from the group, then checking the size is pointless and eats resources.