• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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