• 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.

Sentinel spell(is this BUG?)

Status
Not open for further replies.
Level 7
Joined
Jul 12, 2008
Messages
295
Hey guys i have made a spell that blinks the hero to the targeted tree from the spell sentinel... The hero blinks and does the spell very good but the cooldown of the spell isn't showing why? I've added 11 seconds for first lvl, 9 for second lvl etc.. But doesn't show cooldown
 
Level 17
Joined
Jan 21, 2007
Messages
2,014
You may have used the event: A unit begins casting an ability.

If so, change it to: A unit starts the effect of an ability.

Begins casting triggers when you press the button for the spell, before the animations has started.
If you use a trigger that will teleport your caster somewhere in GUI, then all actions will be aborted for that unit.
In other words, he won't cast the ability. That's why the cooldown won't start, because the spell is actually never casted.

With starts the effect on the other hand, the event triggers when the effect of the spell is released, for example when the animation has come to a special point or after the casting time of a spell.
This triggers after the cooldown is set.
 
Level 7
Joined
Jul 12, 2008
Messages
295
Here is the whole trigger:
  • Events:A unit starts the effects of an ability
    • Conditions:(Ability being cast) Equal to Power of Nature(name of my spell)
    • Actions:
  • Set PowerOfNature(Variable ''point'') = (Position of (Targeted destructable of ability being cast))
    • Move Triggering unit to PowerOfNature
    • Destructable - Pick every destructable within 300 of (Position of (casting unit)) and do actions
    • Loop Actions:Kill picked destructable.
Please figure it out and reply me
 
Last edited by a moderator:
Status
Not open for further replies.
Top