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

[Need Info] Ongoing Missile Ability

Status
Not open for further replies.
Level 2
Joined
Oct 3, 2015
Messages
6
Hello. I'm making a Starcraft map and I'm not sure how to do an ability that travels to a certain range, damaging everything it touches. I've almost gotten it, but the problem is that if I target a closer location it only goes that far. I'd like it to head a certain distance in a given direction, then disappear, where the only thing you do that affects it is which direction you point it in. Basically like Raynor's penetrating snipe in the nydus worm mission, except a missile.

I've considered setting the cursor to the maximum distance, but I tried something like that in the past and it didn't work. How would I best go about this?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
Two ways that immediately come to mind.
  1. Use a periodic effect to offset the missile target location to always be at maximum length.
  2. Change the missile mover to throw and disable impact detection. Instead rely on natural expiry and constant or controlled velocity.

For the periodic damage you use the new 3.0 fields with Missile effects to attack a periodic effect to it. You then use markers like with the Hellion to prevent damage being done multiple times to the same target. The periodic effect expires when the missile dies (validator should work for this).
 
Status
Not open for further replies.
Top