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

[AI] AI Using Abilty

Status
Not open for further replies.
Level 3
Joined
Sep 20, 2007
Messages
30
Hello, is anyone knows how can i order an ai hero to cast a custom abilty? I've try it via trigger 'issue order targeting a unit', but it just contain few basic abilties. Furthermore, i've tried to change the trigger into custom text and change the 'attack' word to 'blink'(just trying) and it didn't work too. Please help me. Thanks...
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
It works for any ability, that just represents the ability its orderstring is from.

Eg: if the spell's orderstring is thunderbolt, then it's Human Mountain King - Storm Bolt. If the orderstring is acidbomb, then it's Neutral Goblin Alchemist - Acid Bomb.

As for the "convert to custom text" thing you mentioned, that works fine. However, blink can't target units, only points, as far as I know. (If your ability was based off blink)
 
Status
Not open for further replies.
Top