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

Order to make illusion.

Status
Not open for further replies.
Level 3
Joined
Oct 19, 2014
Messages
26
Hello, im trying to make ability that gives % chance to attacking unit turn invinsible and create illusion on his position. (Old Phantom Lancer Ability from Dota). It's all working except the illusion part. I didn't find trigger for it, so i tried it through custom script, it's first time im using it so. Actually i have no much clue what im doing :D .. So if somebody could help. Screen with my current progress.
 

Attachments

  • Výstřižek.PNG
    Výstřižek.PNG
    26 KB · Views: 37
Level 21
Joined
May 29, 2013
Messages
1,566
Hello, im trying to make ability that gives % chance to attacking unit turn invinsible and create illusion on his position. (Old Phantom Lancer Ability from Dota). It's all working except the illusion part. I didn't find trigger for it, so i tried it through custom script, it's first time im using it so. Actually i have no much clue what im doing :D .. So if somebody could help. Screen with my current progress.
I also don't know much about triggers, but I'm pretty sure that you have to use the numerical order ID of the "Item Illusions" ability in the custom script, not the raw code of the Wand of Illusion item.

According to this thread, the order ID that you're looking for is 852274.

Also, I don't really get why you're making the dummy invulnerable with triggers instead of adding the Locust ability in the Object Editor, and why you use the wait action instead of an expiration timer.
 
Status
Not open for further replies.
Top