Special Effect Then Damage ?

ggtank

New Member
Reaction score
0
Hello again..
I wanna make a skill like Dota Pugna's Nether Blast.

First there will be a special effect at the point of ability being cast.
When animation finishes.It will damage units near 500 aoe of target point.

I can do the damage part easily with triggers..But it doesn't wait for special effect to end.Also if i use wait, it sometimes doesn't damage(when animation cancelling)..

Can someone do this without wait function ?I am using GUI.


Thanks
 
you can create a dummy unit at the point of the ability being cast, give him an expiration timer and then when he dies you trigger the damage.
 
Not easy with out wait and in dota the effect and damage are at same time
 
Not easy with out wait and in dota the effect and damage are at same time

If I use wait, when I make animation cancelling, it doesnt deal any dmg.

Yes, I want it to be like it is in DotA. If possible, same time will be better, how can i do this
 
This should work :D
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (Your_Ability)
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Set TempGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: call RemoveLocation(udg_TempPoint)


If you want to wait at first, just add it :D but that'll make it non-MUI :(
Change the special effect to what you want ;)
 
This should work :D
Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (Your_Ability)
    • Actions
      • Set TempPoint = (Target point of ability being cast)
      • Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Set TempGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: call RemoveLocation(udg_TempPoint)


If you want to wait at first, just add it :D but that'll make it non-MUI :(
Change the special effect to what you want ;)

and is there something i can do to make it mui
 
Nether Blast is based on Blizzard or Rain of Fire
---
if you want to trigger the damage, a wait is un-avoidable. So we will have to use local var (err... Custom Script)

Trigger:
  • Nether Blast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nether Blast (triggered)
    • Actions
      • -------- declare the variables --------
      • -------- a local var with type unit and name "c" --------
      • Custom script: local unit c
      • -------- a local var with type location (point) and name "loc" --------
      • Custom script: local location loc
      • -------- ---- --------
      • Set TempUnit = (Triggering unit)
      • Set TempPoint = (Target point of ability being cast)
      • -------- name of global vars (create in Ctrl + B) in jass wll have the prefix "udg_" --------
      • -------- set value of TempUnit to c --------
      • Custom script: set c = udg_TempUnit
      • -------- set value of TempPoint to loc --------
      • Custom script: set loc = udg_TempPoint
      • Wait 1.00 seconds
      • -------- set value of c to TempUnit --------
      • Custom script: set udg_TempUnit = c
      • -------- null c to prevent leak --------
      • Custom script: set c = null
      • -------- same as above --------
      • Custom script: set udg_TempPoint = loc
      • Custom script: set loc = null
      • -------- ---- --------
      • Set TempInt = (Level of Nether Blast (triggered) for TempUnit)
      • Set TempReal = (100.00 + (50.00 x (Real(TempInt))))
      • Set TempGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of TempUnit)) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Cause TempUnit to damage (Picked unit), dealing TempReal damage of attack type Spells and damage type Fire
      • Custom script: call DestroyGroup( udg_TempGroup )
      • Custom script: call RemoveLocation( udg_TempPoint )


take a look at the demo map I attached below, it contains the... "normal" Nether Blast and the triggered one. :)
 

Attachments

  • [Spell] Nether Blast.w3x
    13.9 KB · Views: 118
Nether Blast is based on Blizzard or Rain of Fire
---
if you want to trigger the damage, a wait is un-avoidable. So we will have to use local var (err... Custom Script)

Trigger:
  • Nether Blast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Nether Blast (triggered)
    • Actions
      • -------- declare the variables --------
      • -------- a local var with type unit and name "c" --------
      • Custom script: local unit c
      • -------- a local var with type location (point) and name "loc" --------
      • Custom script: local location loc
      • -------- ---- --------
      • Set TempUnit = (Triggering unit)
      • Set TempPoint = (Target point of ability being cast)
      • -------- name of global vars (create in Ctrl + B) in jass wll have the prefix "udg_" --------
      • -------- set value of TempUnit to c --------
      • Custom script: set c = udg_TempUnit
      • -------- set value of TempPoint to loc --------
      • Custom script: set loc = udg_TempPoint
      • Wait 1.00 seconds
      • -------- set value of c to TempUnit --------
      • Custom script: set udg_TempUnit = c
      • -------- null c to prevent leak --------
      • Custom script: set c = null
      • -------- same as above --------
      • Custom script: set udg_TempPoint = loc
      • Custom script: set loc = null
      • -------- ---- --------
      • Set TempInt = (Level of Nether Blast (triggered) for TempUnit)
      • Set TempReal = (100.00 + (50.00 x (Real(TempInt))))
      • Set TempGroup = (Units within 500.00 of TempPoint matching ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of TempUnit)) Equal to True)))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Cause TempUnit to damage (Picked unit), dealing TempReal damage of attack type Spells and damage type Fire
      • Custom script: call DestroyGroup( udg_TempGroup )
      • Custom script: call RemoveLocation( udg_TempPoint )


take a look at the demo map I attached below, it contains the... "normal" Nether Blast and the triggered one. :)

Thanks a lot..It worked...

Thanks for all replies, I love you guys =P
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      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