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

Projectile and Target effect timing problem

Status
Not open for further replies.
Level 19
Joined
Apr 25, 2006
Messages
1,309
Here is my problem. I want an ability that launches a projectile and when it reaches the selected location another special effect happens at the target. I tried using cluster rockets spell but the target special effect happens when the projectile is cast not when it reaches target. Please help me to solve this problem and you will be repped. I'm talking about a grenade projectile and explosion special effect.
 
Level 4
Joined
Sep 20, 2005
Messages
72
Try starting a one-shot timer with a time period of t = d/v, so like DistanceBetweenPoints (your caster's position and your target location) divided by missile speed. Create your explosion effect after the timer expires. I use it several times in my map, works fairly well. =)
 
Status
Not open for further replies.
Top