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

Condensing spells to get a smiliar effect for multiple unit

Status
Not open for further replies.
Level 10
Joined
Apr 9, 2004
Messages
502
I;'m working on a spell of mine where my hero shoots out multiple little broodling that move outward and slowly home onto targets nearby. The units are let out like a cone and they'll try to hit any units close enough within 250 of their position, but they'll only trun gradually which means you can ddoge them easier by running motre eradically. Anyways if they hit you they'll stay on you unless you can put some serious didstance between them and yourself (via a blink type spell) and for each on, you take X damage per second and each would store the hp they dealt to you (like leeching life). Now these guys would attack units randomly and so you could have multipels of them on multiples units within a large area.

Now i need a way to track which broodling unit is where, which unit they are on, make it work so that any one unit could have mutiples of them, track their distance so that they simply return to the spider if they are too far away.

what sort of arrays and integers would i need for this kind of thing?
 
Level 10
Joined
Apr 9, 2004
Messages
502
Not quite. Each unit will be a missile with the crypt fiend missile effect. theses missile units will fly outward in a line (there will be 20+ of them and they will spread out like a cone) and slowly home onto units. If they go too far then they return without dealing damage (this means that you can miss). But if they get close enough to the unit then they will start to deal damage to it. The more of them on 1 unit, the more damage they deal. This would work best on a larger group of units, or from being cast from mid distance to allow them to home onto 1 target. However a blink spell would put you out of their detection range and thus you'd escape from their damage. If they fed off of 1 unit and they could still feed some more, then they home onto another target until they were moved out of range or they had leeched a max amount.
 
Status
Not open for further replies.
Top