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

Casting ability when attacked

Status
Not open for further replies.
Level 2
Joined
Oct 20, 2008
Messages
12
Problem solved... but i cant figure out how to set the prefix to [solved]
Amtoo dumb :/

Hi there,

ive got a problem but it sound so darn easy... man...

ok well i gave a structure the ability to dispel. its an aoe spell.
i just want that, if the units is attacked, it should use dispell every so and so seconds on the attacked unit.

it sound so easy but i think im just too dumb to figure it out.
i don't understand why the "order unit to "..."" just has predefined abilities and not the ability to use custom ones.

thank you for helping me :(
 
Last edited:
Level 13
Joined
Sep 14, 2008
Messages
1,408
Just order it to "cast the ability your custom abilty is made of".

For example: You created a custom spell out of thunderclap and you want a unit to cast that custom spell. So order it to cast thunderclap. (important is that he has ONLY the custom ability and not the custom and the original one because he will cast the original then.)
 
Status
Not open for further replies.
Top