I've seen vex's castersystem and there are item called rune of illusion, so when picked up by a hero, the trigger will create dummy unit and order it to cast ability based on "Wand of Illusion" ability. The problem is, since the item ability doesn't have order string so he order it with some numbers like '875443' .... ummm.. i don't know exactly, but the number is about 6-7 digit.
My question is.. how i can get this number? and how i can get another order string for every ability that i made from item ability?
imported_Freezer
#2
Well add an order string. For example chainlightning and use it in the trigger as Orc Farseer - Chain Lightning. I'm not sure that it will work, I haven't done this before.
I know that man. Each unit ability must have order string but what about item ability, i talk about wand of illusion ability. Vex used this ability to dummy unit and then order that dummy to cast the ability on triggering unit. How can he order that dummy with some order number like '87xxxx' ( a 6 digit number)
A minute ago I made it. It's a bit stupid way but it works .
Events - A unit acquires an item Conditions - Item being manipulated equal to Illution Rune Actions - Unit - Create 1 CasterUnit (1) for (Owner of (Hero Manipulating Item)) at (Position of (Hero Manipulating Itemt)) facing (Random angle) degrees Unit - Add a 2.00 second Generic expiration timer to (Last created unit) Hero - Create DummyDupe and give it to (Last created unit) Hero - Order (Last created unit) to use (Item carried by (Last created unit) of type DummyDupe) on (Hero Manipulating Item) Wait 0.50 seconds Item - Remove (Item carried by (Last created unit) of type DummyDupe)