| 10-15-2006, 04:52 PM | #1 |
Do u believe me ?? I have try to make this skill work for 5 days and not yet to succeed. I have go search around , find many thread , but still need something more to go on. This spell called Illuminate ( edit from blink spell ) - Blink and left illusion of caster behind at the previous location of caster to fool enemy . It's similair with this http://www.wc3campaigns.net/showthre...blink+illusion According to Anitarf 's post... Question is I don't know how to store previous unit location before he cast blink ( In custom script) . Also how to store any other (such as unit ) in variable . This is my current work (combination of GUI and Custom Script ): Trigger: Illuminate![]() Actions![]() ![]() Custom script: local unit a = GetLastCreatedUnit()![]() ![]() Custom script: local unit b = GetTriggerUnit()![]() ![]() Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees![]() ![]() Unit - Add Item Illusions to (Last created unit)![]() ![]() Custom script: call IssueTargetOrderById(a, 852274, b)![]() ![]() Unit - Move (Last created unit) instantly to (Position of (Triggering unit)), facing (Target point of ability being cast) |
| 10-15-2006, 04:56 PM | #2 |
Trigger: Unit - Move (Last created unit) instantly to (Position of (Triggering unit)), facing (Target point of ability being cast)What is triggering unit? EDIT: And anyway, give him the order and move him instantly perhaps? If you order the unit to do whatever, pause it, and then move it instantly, then unpause it, it should work. |
| 10-15-2006, 06:09 PM | #4 |
Answer to st33m : That trigger unit is the caster of illuminate spell ( If it really being that ). I just know that I has to use " start the effect of ability " , not " ability being cast " . Thanks . And what about removing Dummy . I think I cannot use Last Created Unit , because it may detect Last Created Unit as an Illusion , not dummy . ============================================ |
| 10-15-2006, 06:34 PM | #6 |
Sorry .but It's doesn't not work yet . Sometime the dummy rotate and facing to caster 's blinked location but do not create illusion ,but sometime he create. Its look like the dummy can't keep up with the caster. But When I add expiraion timer to dummy ( I have add more 2 second) . He never create an illusion . UPDATE : I check on him . He get "Item Illusion" abillity but ignore to cast it . Note : I make my dummy have some Art - model file and remove locust abillity form him , so I can see what he doing |
| 10-15-2006, 07:11 PM | #8 |
Well, He get Wand of Illusion item ( I check by click on the dummy ) , but still don't use it. I don't get it.And Tidehunter... Did you forget to use TempPoint ?? (you use only TempPoint2) |
| 10-15-2006, 08:30 PM | #9 |
Have you made sure the wand dosent cost mana, or other small problems like that? Are you sure the order Id is 852274 for Wand of Illusion? And i do use TempPoint Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint2 facing TempPoint |
| 10-15-2006, 08:46 PM | #10 |
Yes , before that , I use " Item Illusion " (This is a ability not an item ) which code is 852274 . I have change it to 852008 which is Wand of Illusion (item) 's code. And It doesn't cost any mana . Sorry for didn't notice that TempPoint. UPDATE : I test it again , The dummy finally cast his illusion spell . The only thing that need to finish is moving illusion to TempPoint2. Thank a lot. ![]() |
