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

Is there way to order an ai unit to use soul theft ability?

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
Hi i made soul theft ability an unit ability. its item ability by defeault. now i need to create trigger iam using damage event so i need DamageEventTarget to use soul theft on the DamageEventSource. the ai doesnt use spell by itself really often. i am just looking replacement for devour because devour doesnt work well on heroes. if there is no space the hero never returns. i tired increasing the aoe of devour cargo but it still happens sometimes hero never returns.
 
you can order soulsteal by a number, called OrderId. That function is not part of the GUI actions hence one, needs jass/Lua -> custom script Line. Looks like you use Bribe Damage Engine in that case it would be the following line uses as custom script.
call IssueTargetOrderById(udg_DamageEventTarget, 852284, udg_DamageEventSource)
 
Status
Not open for further replies.
Top