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

How to order unit cast skill on enemy unit autoly

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
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.
Top