• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to order unit cast skill on enemy unit autoly

Status
Not open for further replies.
You answered your own question, you simply make a trigger script which orders the unit to cast the spell on itself, at a position or targeting a widget.

Basically issue the unit you want to cast the ability an order of the orderstring of the ability or its related integer.

If you are using GUI (which generally is not advisable), it is a section of the unit actions which issue orders to a unit with some form of target. There should be 3 of them in total. The order you choose with them is the spell which your custom spell is based upon.
 
Status
Not open for further replies.
Back
Top