• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,407
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