• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

How to Order Unit Cast skill everytime or anytime on enemy unit?

Status
Not open for further replies.
Level 6
Joined
Mar 9, 2009
Messages
175
How to Order Unit Cast skill everytime or anytime on enemy?
Guys help me please ;):grin::grin:


Thanks you alot :grin::grin:
 
For ordering unit to cast spells click here. mc/defskull/me answered how to do it properly.

Is the unit you want to cast spells neutral? or contrled by a player?
You can use loops. You should know the cooldown for given spell so use:
Lets say cooldown is 6 and your spell is Chain lightning.
  • Loop
    • Events
      • Time - Every 6 seconds of game time
    • Conditions
    • Actions
      • Unit - Order yourUnit to Orc - Far Seer - Chain Lightning uour_target
You can set targets randomly, like picking units around this guy within each loop, but remember about leaks.
Fill yourUnit & yourTarget because this is just egzample here. Yourunit means the caster ofcourse.

EDIT And as Pharaoh_ said, it doesnt realy matter because you just have to choose the spell you have based your ability on.
 
Level 6
Joined
Mar 9, 2009
Messages
175
hmm i not so understand sorry - - , wait u mean if i have custom skill use from Thunder Claps , so i just have to click the Human hero - Thunder Claps?
 
Status
Not open for further replies.
Top