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

Can I get some help with this?

Status
Not open for further replies.
Level 1
Joined
Feb 5, 2005
Messages
1
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
 
Level 2
Joined
Feb 3, 2005
Messages
10
re

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
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
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!

~Daelin
 
Status
Not open for further replies.
Top