Trigger ability questions

Monictor

New Member
Reaction score
0
I am not sure how sliding units/dummies work. For example, I want to make a shockwave type ability that uses a sliding dummy that does damage to nearby units with immolation or whatever. But I do not know what GUI scripts to use. Do you need JASS to slide units like this? I do not know how to move a unit, every .02 seconds (human eye sees about 40 frames per second) towards a target position. How do I do this? I would also like to slide a dummy around a point.

How can I make a chain lightning/healing wave ability with a trigger? I want to be able to alter the damage within the trigger so I can’t use the normal abilities.

Here's part of an attempt:

Trigger:
  • Breaker Attack
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Spell Breaker Attack
    • Actions
      • Set DmgBreaker[(Player number of (Owner of (Triggering unit)))] = 45.00
      • Lightning - Create a Spirit Link lightning effect from source (Position of (Casting unit)) to target (Position of (Target unit of ability being cast))
      • Set BreakerAttack = (Last created lightning effect)
      • Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing DmgBreaker[(Player number of (Owner of (Triggering unit)))] damage of attack type Normal and damage type Normal
      • Wait .3 seconds
      • Unit Group - Add (Random unit from (Units within 260.00 of (Position of (Target unit of ability being cast)) matching (((((Matching unit) is A structure) Equal to False) and ((Matching unit) Not equal to (Target unit of ability being cast))) and (((Matching unit) belongs to a to BreakerChainAttack[(Player number of (Owner of (Triggering unit)))]
        • Unit - Cause (Triggering unit) to damage (Random unit from BreakerChainAttack[(Player number of (Owner of (Triggering unit)))]), dealing (0.20 x DmgBreaker[(Player number of (Owner of (Triggering unit)))]) damage of attack type Spells and damage type Lightning
        • Lightning - Move BreakerAttack to source (Position of (Target unit of ability being cast)) and target (Position of (Picked unit))
        • Wait 1.00 seconds
        • Lightning - Destroy BreakerAttack


I actually have 2 problems with this: it does not damage the second target, and it does not show any lightning effects. What am I doing wrong?
 
Hmm, your this part of the trigger,

(Matching unit) belongs to a to BreakerChainAttack

Belongs to a to? Did you hand write this?
 
Hmm, your this part of the trigger,

(Matching unit) belongs to a to BreakerChainAttack

Belongs to a to? Did you hand write this?

I'm not sure how that messed up in the copy paste. Just disregard the trigger I posted, I just need to be pointed out what functions would work in creating a chain lightning type ability with a trigger.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • 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 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