• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!

[Spell] How to cast skill

Status
Not open for further replies.

Br0

Br0

Level 4
Joined
May 4, 2012
Messages
102
Well it should do it by itself some of the time, but you can use a trigger to do this like. ;

Event - Unit is attacked
Condition - equal to triggering unit owned by neutral hostile
Action - Order the triggering unit to orderstring/ability attacking unit

I suggest useing an if/then/else line in there too for random integers so the unit just doesn't always cast the same thing over and over.
 
Status
Not open for further replies.
Top