Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Images at point

Events


Unit - A unit starts casting a ability

Conditions


Ability being cast equal to mirror image

Actions


Set Target point = (triggering unit) -------- place your destination point


Region - Move region bla bla <gen> at position of (triggering unit)


Unit Group - Pick all units in region bla bla <gen> ((picked unit) is ilusion equal to true) and make (picked unit) to move(instantly) to Target point
HINTS:
Images at point
Events
Unit - A unit starts casting a ability
Conditions
Ability being cast equal to mirror image
Actions
Set Target point = (triggering unit) -------- place your destination point
Region - Move region bla bla <gen> at position of (triggering unit)
Unit Group - Pick all units in region bla bla <gen> ((picked unit) is ilusion equal to true) and make (picked unit) to move(instantly) to Target point
=> Target point ------ variable of type point
=> bla bla <gen> ------ a region that you have to make
=> it may have writing issues but if you know some trigger editor you will succed
You make a dummy cast illusion, on your hero.
This is not suitable for this thread...at all... furthermore this way of picking all units is ... stupid and it leaks.
Just to add something: That is a wand of illusion based spell![]()
This is not suitable for this thread...at all... furthermore this way of picking all units is ... stupid and it leaks.
Just to add something: That is a wand of illusion based spell![]()
the target point is a unit ? and if its a unit do you want to damage the unit ?
Edit: i may have a problem ... i made the illusion at the point but the model of the ilusion is not exacly the casting hero's model and i can't change that ... if you tell me EXACTLY what your skill does maybe i can make it another way ...
unit casts Conjure image

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Conjure image

Actions


Set unit_owner = (Owner of (Triggering unit))


Set Location[66] = (Position of (Triggering unit))


Unit - Create 1 Image Caster ( Dummy Unit ) for unit_owner at Location[66] facing Default building facing degrees


Set Image_caster = (Last created unit)


Unit - Add Inventory to Image_caster


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Level of Conjure image for (Triggering unit)) Equal to 1



Then - Actions




Hero - Create Image Maker lvl 1 and give it to Image_caster



Else - Actions



If - Conditions




You have more lvls



Then - Actions




Do the same for the other lvls



Else - Actions


Hero - Order Image_caster to use (Last created item) on (Triggering unit)


Unit - Add a 1.00 second Generic expiration timer to Image_caster


Custom script: call RemoveLocation(udg_Location[66])
Inorder to cast the wand of illusion via triggers you need to use its order integer with JASS.
