Overload help

13est

New Member
Reaction score
5
How does Dota Storm spirits overload works, Show in GUI please don't explain. (I actaully learn more from watching the GUI triggers then explaining things:p)
I know just about how it works but I don't know how to trigger it god. (many units will have the same ability)
 

Frozenwind

System maker
Reaction score
99
Since I don't play dota (cos I think it sux), I can't help you.
I can help you if you explain how it works (since you do know).

Code:
many units will have the same ability
That is called MUI, and in some cases only possible with a JASS trigger.

frozenwind.
 

cr4xzZz

Also known as azwraith_ftL.
Reaction score
51
Yep, but it's JASS. Here's the link anyway http://www.thehelper.net/forums/showthread.php?t=74727

I'm not sure you can make MUI abilities in GUI /well, there is a way, but there was somekind of bug, which didn't allow you to use more than 1 local variable for a specific variable. for example u can't localize 2 unit variables, only 1 will work/.
In a trigger you check everytime when the Storm Spirit attacks and set it into an integer variable. This is a trigger I made really fast, but it's not MUI as you want... If you want MUI then you should use jass.
Code:
Overload Learn
    Events
        Unit - A unit Learns a skill
    Conditions
        (Level of Acid Bomb for (Attacking unit)) Equal to 1
    Actions
        Set StormSpirit = (Attacking unit)
        Set Level = (Level of Acid Bomb for StormSpirit)
        Trigger - Turn off (This trigger)
        Trigger - Turn on Overload <gen>
Code:
Overload
    Events
        Unit - A unit Is attacked
    Conditions
        (Level of Acid Bomb for (Attacking unit)) Greater than 0
    Actions
        Set Attacks = (Attacks + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Attacks Equal to (8 - Level)
            Then - Actions
                [b]//Further actions for damage/sfx/etc.[/b]
                Set Attacks = 0 [b]//don't forget this[/b]
            Else - Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top