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

How do I use make a point cause damage AFTER a projectile has reached its target?

Status
Not open for further replies.
Level 19
Joined
Aug 24, 2007
Messages
2,888
You need a custom projectile system for that
or
Wait ((distance between caster and target point)/missle moment speed) seconds
then do actions
 
Level 12
Joined
Aug 18, 2006
Messages
1,193
Wait ((distance between caster and target point)/missle movement speed) does not work, since the target can move and the special effect would actually be created before the storm bolt hits the target, and even after

here is an easy way on the other hand(this way is SUI, but still)

give the stormbolt a unique buff

once every 0.01 seconds, check if any unit has buff

if any unit has buff, cause the unit with the spell to deal damage in area and remove the buff

it can be MUI, but that requires more work
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Oh by target I tought ground becouse he said granade
so it wont be a problem for ground targeting

btw moving a projectile with 0.03 interval doenst cause lag
all my spells with projectiles do that
 
Status
Not open for further replies.
Top