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

explosion on impact spell

Status
Not open for further replies.
Level 3
Joined
Aug 4, 2007
Messages
45
May someone help me on a spell where the hero casts a spell, it sends out a <projectile> and the first unit the <projectile> hits the <projectile> will explode, dealing aoe damage, and if the <projectile> doesn't meet an enemy unit, it will explode when it reaches its maximum distance
 
Level 3
Joined
Mar 2, 2008
Messages
62
you would have to use a dummy unit as the projectile, and move it forward periodically (use a timer). every instance check if its within X range of a unit, and if it is... BOOM.
 
Status
Not open for further replies.
Top