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

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