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

Spell Damage Question

Status
Not open for further replies.

Sir Pukes A Lot

S

Sir Pukes A Lot

Sorry to bother again, but I was wondering if there is any means of determing when a spell damages a generic unit.

Example: Say I cast Storm Bolt, I am looking to find when the Storm Bolt Animation actually hits a unit and damages then.

PS. I am using the Normal Editor with GUI Triggers.

-The Puker
 
But what if the unit uses a speed buff, gets slowed, moves backwards sideways ect. Then *wait - distance between targets/animation speed* wouldnt work.
 
Fixed

Thanks for all the replies.

I am gave the spell a unique buff, added a trigger that sets a unit variable to the target and then turns on another trigger which checks every 0.2 seconds for that unique buff. Once the trigger executes I have it turn itselfs off.

So far its working great :)

-The Puker
 
Status
Not open for further replies.
Back
Top