HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Mirror Image +

05-29-2004, 05:56 AM#1
SigmaVX
Mirror Image can only produce a maximum of 9 Clones, how do I trigger it to make it above 9 clones.
05-29-2004, 12:12 PM#2
johnfn
Why dont you do it so that when they cast uber-mirror image, you have dummy units (the exact same unit as the caster) also cast mirror image, to get how many mirrior images you want. If you need help with the triggers, just ask.
05-29-2004, 04:33 PM#3
Shimrra
Have you tried shift-double clicking on the field? This often allows you to implement greater numbers then you would otherwise be allowed to.
05-29-2004, 04:50 PM#4
SigmaVX
1. Yes I need help on the triggers..

2. How do that do this? Shift-Double click.. ?
05-29-2004, 04:58 PM#5
Shimrra
Go into the ability editor and go to the field you want to edit. Once there, hold down the Shift key and then click twice on the field you want to edit. The field will comw up and allow you to out in values that are normally to high or too low.
05-29-2004, 05:05 PM#6
weaaddar
no more then 9 and it could crash.
Basically the suggestion the other guy is correct. Use a trigger to save your unit in gamecache and restore him. (making a perfect clone), then set a boolean saying that the original caster has casted it already so that the trigger won't fire when the clone fires mirror image.
05-29-2004, 07:32 PM#7
JJ912
You could have a dummy unit cast the Wand of Illusion ability on the images or the caster too.
05-29-2004, 11:28 PM#8
SigmaVX
Weird when I do the Shift thing and make 20 clones, for some reason it only makes 9 and my main character vanishes... So it's wrong to use Shift, BTW I'm exteme n00b, so I wouldn't know how to set up this dummy spells stuff.
05-29-2004, 11:33 PM#9
johnfn
The general idea is to
  • Make another unit of the same type.
  • Order this unit to cast the same spell.
  • Remove the unit.
I can't give you more specifics then that because I dont have WE open. Hope you can figure out what to do from there.
05-29-2004, 11:42 PM#10
SigmaVX
Quote:
Originally Posted by johnfn
The general idea is to
  • Make another unit of the same type.
  • Order this unit to cast the same spell.
  • Remove the unit.
I can't give you more specifics then that because I dont have WE open. Hope you can figure out what to do from there.
Aaaaah So I just make another of the same hero? Then make him cast the spell then die? Wouldn't it add to the hero count on the left, or do you want me to make a Dummy Character that can cast mirror and then kill him, or make him cast illusion on my Character?
05-30-2004, 12:38 AM#11
johnfn
Actually, I think that adding to hero count won't matter in the least, because the unit will be removed very fast, almost undetectable by the player.
05-30-2004, 04:34 PM#12
SigmaVX
I can't seem to find a way to make my unit use the spell, which trigger is it?
05-30-2004, 08:03 PM#13
johnfn
I think what you want is

Unit - Order (Last created unit) to Orc Blademaster - Mirror Image

Although I dont know , this might only work for a blademaster. Hmm...
05-30-2004, 09:31 PM#14
Anitarf
No, it works for any unit that has the blademasters ability.

But when doing this, pay attention to what weaaddar said. Your trigger runs when your blademaster casts mirror image, so it creates a copy of him at his location and orders the copy to cast a mirror image as well. But, since that would be an exact copy, it would trigger the same trigger again, resulting in an infinite loop. That is why you must store the information about the fact that the clone will be casting mirror image into a boolean variable so that the trigger doesn't make another clone when the first one casts the spell again.

Another thought; the "cast point" of the hero may cause a slight shift between the first and the second spray of mirror images. To get this right, the clone shouldn't be an exact clone, but a new hero with "cast point" set to 0. Of course, transfering all possible HP and dmg bonuses from one hero to the clone (which would in this case no longer be a clone) would be difficult. Just change the original blademaster's (or whatever is the name of your custom hero) "cast point" to 0.