ok im working on a spell that uses the cluster rocket, in DOTA a guy has a move were it fires one rocket but it homes onto a enemy hero without having to target the hero, how can I get my spell to do this?Please help me thanks in advance
I think i got your awnser, havent tested it tho, just off the top of my head i would say... E: Unit begins casting a spell C: Ability = your spell here A: Add all units within xxxx range or triggering unit matching ((boolean comparison) targeted unit is a hero = true)) to unit group (create unit group variable here) A: ....
then just add your art and damage with other actions. not really to clear on where to go from here without lookin at editor and messing around but thats the way i can think of to target a random enemy hero within range
pretty much what he said, bu you just create a unit with a kaboom ability and summon it if conditions are met and order it to cast at a random hero within X range the kaboom spell. Thats how that works to my knowledge.
The best thing to do is base it off Cluster Rockets of course and just create one dummy unit which looks like a Rocket, and has kaboom (like Drain Pipe mentioned). Then you pick a random hero from AoE matching condition (Matching Unit) belongs to an Enemy of (Casting Unit) equal to true. And you order your dummy unit to kaboom that hero. That should do it!