• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger Spell Help

Status
Not open for further replies.
Level 1
Joined
Apr 30, 2010
Messages
2
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: http://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/
 
Level 1
Joined
Apr 30, 2010
Messages
2
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.
Top