• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Trigger Spell Help

Status
Not open for further replies.

WalrusTusK

W

WalrusTusK

Hey, hope this is the right spot to put this in.

I'm making a pretty straight forward spell. My hero blinks, then thunderclaps/warstomps. That's it.

The blink and animations work. And for a time, it was doing AoE damage like I wanted, but it also damaged my allies and I didn't know how to add a stun or slow effect, so then I tried out a Dummy casting Thunderclap/Warstomp, however it's not working.

Here's a picture of the code:
http://img100.imageshack.us/img100/4870/flashquake.png

Any and all help is appreciated. <3
 
Make sure the Thunder Clap has no mana cost and is not a hero ability. What is more, instead of Increase level of Thunder Clap for (Last created unit) use
  • Unit - Set level of Thunder Clap for (Last created unit) to (Level of (Ability being cast) for (Triggering unit))
Finally, you leak. Use this tutorial: https://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/
 
Thanks Pharaoh. The set level of thunderclap and changes to thunderclap made the skill function properly. Only, a problem I forgot to include in the first post is that despite what I set in the object editor, the skill has no cooldown. Also, is there a way to force a unit to use a custom spell? The drop down list only lists spells from heroes and units that are already in the game.

I'm curious about what the "leaking" is. Does that protect my trigger in case a unit is created during my spell's operation and it picks a new "created unit?"
 
Status
Not open for further replies.
Back
Top