• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Need help with custom ability

Status
Not open for further replies.
Level 4
Joined
Jul 9, 2007
Messages
50
i found the problem:
you have to disable the release trigger on map init
if u add a debugging message in every trigger to see when they run you will notice that the cast and release trigger always fire together, so the spell ends immediately
also you need a delay after casting before you enable the other trigger, just add Wait 0.25 seconds between turning off the one and turning on the other trigger and give your ability a cooldown of 1sec or anything that you cant cast it too early when no trigger is enabled

some side notes:
- you should stop the timer when the release trigger runs
- when i load the map the dummy doesnt have the aura, instead he has the ability unknown (A00R)
- also in the cast trigger it says "Create 1 _ for (Owner of ...." i put the dummy in there
- you should use the even "Unit starts the effect of an ability" instead of "Unit starts casting an ability", else you can produce bugs
- you are leaking a location, use the following custom script at the end of your triggers "ShelterRelease" and "ShelterTimer":
call RemoveLocation(udg_CasterPosition)
 
Level 21
Joined
Feb 23, 2015
Messages
243
Can you post the triggers here on forums?

If you don't know how, here's tutorial: http://www.hiveworkshop.com/forums/miscellaneous-tutorials-456/how-easily-post-triggers-163285/
- when i load the map the dummy doesnt have the aura, instead he has the ability unknown (A00R)
- also in the cast trigger it says "Create 1 _ for (Owner of ...." i put the dummy in there

Problem is that I don't have English version of world editor, and that's why I didn't added triggers. I'm gonna download English version because translating triggers names is pain in the neck.

Thanks for help
 
Status
Not open for further replies.
Top