• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Ability not working O.o

Status
Not open for further replies.
Level 1
Joined
Apr 5, 2009
Messages
2
So the ability I'm trying to make is called Rippling Pound. This is what it's meant to do:

-The actual ability the hero gets is a blank death coil (this makes the animation on the target and caster)
-It should:

1. Create a dummy at the caster, give the dummy shockwave (from the Orc Heroes, and with Stats - Buffs Rippling Shock, and yes, there is no mana etc), make the dummy Tauren Chieftan - Shockwave the point of the target of Rippling Pound, and make the dummy disappear.

2. Create a dummy at the target of Rippling Pount, give the dummy impale (from Undead Heroes, and again, range,aoe,etc is set to what I want it to be, mana cost is 0), make the dummy Crypt Fiend - Impale the target of Rippling Pound, damage the target based on Rippling Pound's level, and make the dummy disappear.

3. Pick every unit with buff Rippling Shock (which Shockwave should've added), create a dummy at the unit, give the dummy Thunder Clap (again again, the ability is modified to have no mana cost and the range/no damage I wanted it to), make the dummy Mountain King - Thunderclap, damage the picked unit based on Rippling Pound's level, and disappear.

-By disappear, I mean I gave the dummies a 1.5 expiration timer.

The problem is, the shockwave isn't going off, which means nothing else happens. Now, I'm not exactly skilled at GUI, so I don't know why it's not working. Anyone mind helping? :D

  • Rippling Pound
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Rippling Pound
    • Actions
      • Set RipplingPoundReceiver = (Target unit of ability being cast)
      • Set RipplingCaster = (Casting unit)
      • Set RipplingCasterPoint = (Position of RipplingCaster)
      • Unit - Create 1 Dummy2 for (Owner of RipplingCaster) at (Position of RipplingCaster) facing Default building facing degrees
      • Unit - Add Shockwave to (Last created unit)
      • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Position of RipplingPoundReceiver)
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
      • Unit - Create 1 Dummy2 for (Owner of RipplingCaster) at (Position of RipplingCaster) facing Default building facing degrees
      • Unit - Add Impale to (Last created unit)
      • Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of RipplingPoundReceiver)
      • Unit - Cause (Last created unit) to damage RipplingPoundReceiver, dealing (25.00 x (Real((Level of Rippling Pound for RipplingCaster)))) damage of attack type Spells and damage type Normal
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
      • Wait 0.10 seconds
      • Unit Group - Pick every unit in (Units within 800.00 of RipplingCasterPoint matching (((Picked unit) has buff Rippling Shock ) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy2 for (Owner of RipplingCaster) at (Position of (Picked unit)) facing Default building facing degrees
          • Unit - Add Thunder Clap to (Last created unit)
          • Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
          • Unit - Cause (Last created unit) to damage (Picked unit), dealing (75.00 x (Real((Level of Rippling Pound for RipplingCaster)))) damage of attack type Spells and damage type Normal
          • Unit - Remove Rippling Shock buff from (Picked unit)
      • Custom script: call RemoveLocation(udg_RipplingCasterPoint)
 
Level 2
Joined
Jan 10, 2009
Messages
30
perhaps it is the last created unit? y dont you try to define the dumy as a variable, also maybe use wait before you make the dummy use shockwave?

Ye the problem is "last created unit"
You must create variables for the dummys, example:

Set dummy[1] = last created unit
Set dummy[2] = last created unit

Do that to both dummys, when the spell is done do this:

Set dummy[Integer A] = No Unit

Try now :wink:
 
Status
Not open for further replies.
Top