- 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?
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?