• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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