HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Controling Illusions

04-30-2007, 10:34 PM#1
Joker
How do you control illusions as in the illusions created by Mirror Image? I cant find any functions that allow me to.
04-30-2007, 10:34 PM#2
Taur
What specifications do you need? Do you need to know which hero summoned it?
04-30-2007, 10:37 PM#3
Joker
Yes, I need the illusions to form a circle with the summoning hero
05-01-2007, 01:34 AM#4
MaD[Lion]
Depends when you watn this to happen... all the time circling with the hero or just at the momment after he mirror image? u cant before since the units arent created yet.

But u can control any unit including mirror images by ordering them.
But if u want them to form a circle then u should instantly move them using SetUnitX and SetUnitY
05-01-2007, 01:34 AM#5
DioD
try getsummonedunit()
05-01-2007, 08:25 AM#6
blu_da_noob
Please be more specific. Tell us exactly what you are trying to do, because mirror image might not even be the best option.
05-01-2007, 03:51 PM#7
Pyritie
Quote:
Originally Posted by Joker
How do you control illusions as in the illusions created by Mirror Image? I cant find any functions that allow me to.
Trigger:
Collapse Events
A unit begins casting an ability
Collapse Conditions
Ability being cast = Mirror Image
Collapse Actions
set TempPoint = Position of Casting Unit/Target Unit of Ability being Cast //whichever you want
Wait .27 secs
Custom Script: set bj_wantDestroyGroup = true
Collapse Pick every unit in (units in (playable map area)) matching condition (Matching unit is An Illusion [[unit state or boolean, forget which]] = true)
Add Picked Unit to Illusion Group

Don't have WE in front of me right now, so I'm trying to remember. Of course tweak it to your needs.
05-01-2007, 07:42 PM#8
Joker
Quote:
Originally Posted by blu_da_noob
Please be more specific. Tell us exactly what you are trying to do, because mirror image might not even be the best option.
refer to my the 3rd post? or is that not enough either?
05-02-2007, 07:21 AM#9
blu_da_noob
What illusions? How do you want them to be created? Are you wanting to mirror image stuff (invulnerability, image spawn) or are you just wanting a circle of images around the caster?
05-02-2007, 09:12 AM#10
MaD[Lion]
if u just want a circle of images then creating dummy units are easier to manipulate.

BTw off topic: As i was thinking, enemies see mirror images with normal color, and allies see with blue tinted. Is it possible to do this effect with trigger using LocalPLayer without causing serversplit?
05-03-2007, 08:13 AM#11
blu_da_noob
Quote:
Originally Posted by MaD[Lion]
BTw off topic: As i was thinking, enemies see mirror images with normal color, and allies see with blue tinted. Is it possible to do this effect with trigger using LocalPLayer without causing serversplit?

Yes.
05-03-2007, 11:54 AM#12
MaD[Lion]
wicked :D Ive not tested stuff with localplayer much. How do i know which functions i can perform without serversplit?
05-03-2007, 05:07 PM#13
Alevice
Those that don't affect gameplay mechanics, for the most part, those that are just visual in nature.