1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  3. The Melee Mapping Contest #4: 2v2 - Results are out! Step by to congratulate the winners!
    Dismiss Notice
  4. We're hosting the 15th Mini-Mapping Contest with YouTuber Abelhawk! The contestants are to create a custom map that uses the hidden content within Warcraft 3 or is inspired by any of the many secrets within the game.
    Dismiss Notice
  5. The 20th iteration of the Terraining Contest is upon us! Join and create exquisite Water Structures for it.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice

Charge 1.05

Submitted by Zanekok
This bundle is marked as approved. It works and satisfies the submission rules.
This is my first MUI spell... Pharaoh_ »http://www.hiveworkshop.com/forums/members/pharaoh_/ helped me with changing spell to MUI thx him

HashTable
  • Charge HashTable
    • Události
      • Map initialization
    • Podmínky
    • Činnosti
      • Hashtable - Create a hashtable
      • Set HashTable = (Last created hashtable)


Start
  • Charge start
    • Události
      • Jednotka - A unit Schopnost začíná účinkovat
    • Podmínky
      • (Ability being cast) Rovná se Charge!
    • Činnosti
      • Hashtable - Save Handle Of(Target unit of ability being cast) as (Key target) of (Key (Triggering unit)) in HashTable
      • Skupina jednotky - Add (Triggering unit) to UnitGroup
      • Jednotka - Turn collision for (Triggering unit) Vypnout
      • Spínač - Turn on Charge loop <gen>


Loop
  • Charge loop
    • Události
      • Čas - Every 0.03 seconds of game time
    • Podmínky
    • Činnosti
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • Jestliže - podmínky
          • (UnitGroup is empty) Rovná se TRUE
        • Potom - akce
          • Spínač - Turn off (This trigger)
        • Jinak - akce
          • Skupina jednotky - Pick every unit in UnitGroup and do (Actions)
            • Smyčka - akce
              • Set Points[1] = (Position of (Picked unit))
              • Set Points[2] = (Position of (Load (Key target) of (Key (Picked unit)) in HashTable))
              • Set Points[3] = (Points[1] offset by 15.00 towards (Angle from Points[1] to Points[2]) degrees)
              • Jednotka - Move (Picked unit) instantly to Points[3], facing Points[2]
              • Zvláštní efekt - Create a special effect attached to the chest of (Picked unit) using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
              • Zvláštní efekt - Destroy (Last created special effect)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • Jestliže - podmínky
                  • (Distance between Points[1] and Points[2]) Menší nebo rovno 50.00
                • Potom - akce
                  • Skupina jednotky - Remove (Picked unit) from UnitGroup
                  • Jednotka - Turn collision for (Picked unit) Zapnout
                  • Animace - Change (Picked unit)'s animation speed to 100.00% of its original speed
                  • Animace - Play (Picked unit)'s attack 2 animation
                  • Jednotka - Cause (Picked unit) to damage (Load (Key target) of (Key (Picked unit)) in HashTable), dealing 300.00 damage of attack type Hrdina and damage type Blesk
                  • Zvláštní efekt - Create a special effect attached to the chest of (Load (Key target) of (Key (Picked unit)) in HashTable) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                  • Zvláštní efekt - Destroy (Last created special effect)
                  • Custom script: call RemoveLocation(udg_Points[1])
                  • Custom script: call RemoveLocation(udg_Points[2])
                  • Custom script: call RemoveLocation(udg_Points[3])
                  • Hashtable - Clear all child hashtables of child (Key (Picked unit)) in HashTable
                • Jinak - akce
                  • Skupina jednotky - Pick every unit in UnitGroup and do (Actions)
                    • Smyčka - akce
                      • Animace - Change (Picked unit)'s animation speed to 30.00% of its original speed
                      • Animace - Play (Picked unit)'s ready animation


Describtion:
Range : 600
Damage Type: hero ,lighting
Damage: 300dmg
Fast attack on enemy target.

Keywords:
Charge, WoW, MUI
Contents

Charge (Map)

Reviews
Moderator
20:35, 1st Mar 2010 TriggerHappy: The effect isn't very smooth. You should probably include some acceleration since currently it's a static motion and makes it look plain. Though this spell could be useful and the coding is fine. This is also a...
  1. 20:35, 1st Mar 2010
    TriggerHappy:

    The effect isn't very smooth. You should probably include some acceleration since currently it's a static motion and makes it look plain. Though this spell could be useful and the coding is fine. This is also a fairly simple implementation and it could be a good example for others.
     
  2. Nillere

    Nillere

    Joined:
    Aug 9, 2009
    Messages:
    219
    Resources:
    0
    Resources:
    0
    Post Triggers please.
     
  3. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    Triggers posted :thumbs_up: - But sorry for Czech version of Warcraft
     
  4. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,193
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Add [hidden][/hidden] tags to the triggers.

    You are leaking Points[1], [2] and [3].
     
  5. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    thx for "[hidden][/hidden]" And how is it leaking? a tested it with 2 heros and it didnt do nothing bad
    how is that hidden working?
     
  6. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,193
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    You need to use

    • call RemoveLocation(udg_Points[1])


    ans the same for [2] and [3].
     
  7. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    thx very much :)
     
  8. Pharaoh_

    Pharaoh_

    Joined:
    Nov 6, 2008
    Messages:
    8,127
    Resources:
    11
    Icons:
    3
    Skins:
    1
    Spells:
    6
    Tutorials:
    1
    Resources:
    11
    I didn't know you wanted this uploaded. I thought it was for personal use. Oh well, then let me tell you my opinion. It just uses a knockback system, nothing more. Sadly, it's not original. :/ I thought you only wanted the knockback effect to fill the spell of yours, I didn't know you wanted the knockback to be the actual effect. Well, I am sorry to say, but if you have a look at most of the spells, they already use this effect and this might not get approved, because it has an overused effect. Mind trying another concept?
     
  9. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    Hmm OK i know this is not no special effect and nothing awesome.... I only tested to do something for learn. And im trying another concept :grin: (if you mean it how i think)
     
  10. Anachron

    Anachron

    Joined:
    Sep 9, 2007
    Messages:
    6,167
    Resources:
    66
    Icons:
    49
    Packs:
    2
    Tools:
    1
    Maps:
    3
    Spells:
    9
    Tutorials:
    1
    JASS:
    1
    Resources:
    66
  11. Zanekok

    Zanekok

    Joined:
    Jan 19, 2010
    Messages:
    374
    Resources:
    8
    Icons:
    5
    Spells:
    3
    Resources:
    8
    Yes...that i didn't want do for first time nothing awesome.... i am working on RPG trade system and Vampire system(for personal use) but its not doing that what i want... It have some bug what is bug for i dont know why... do you want see it?
     
  12. Razordaman

    Razordaman

    Joined:
    Mar 14, 2012
    Messages:
    8
    Resources:
    0
    Resources:
    0
    I took the spell and have modified it, now it doesnt bugg when u charge and enter a unit when colision is turned on you were moved, i fixed that by icreasing the distance between the points, also ive made the animation actually play instead of just standing.
     
  13. Vernerl

    Vernerl

    Joined:
    Jun 23, 2012
    Messages:
    29
    Resources:
    0
    Resources:
    0
    how do i make it levelebel...
     
  14. Hazop

    Hazop

    Joined:
    Jul 2, 2015
    Messages:
    723
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Dosent Work "'udg_Points Is' not an Array"

    Can you post it?
     
    Last edited by a moderator: Dec 17, 2017