Warcraft III resources & community, 2003–2006 · archived

Need some help for a spell.

4 posts
#1

Need some help for a spell.

How do I track illusions that is created with "Item Illusions" for example? I mean which "Event Response" do I use or is it any other way or something?
#2
Here is and example for how to use the illusion in a spell.

Example:

Mirror Movement Speed
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Mirror Image
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is an illusion) Equal to True

Then - Actions
Unit - Set (Picked unit) movement speed to 500.00
Else - Actions
Do nothing

You will find it as Boolean Unit Condition

->ZeeRaw<- :)
#3
There is no event response to directly do that, but yes, you can detect an on-cast

However, zeeraw, Begins Casting an Ability is much worse than Starts the Effect of an Ability, and also, the illusions are not instantly created, so you need a wait in there somewhere.

Your group is leaking :P

Also, picking in Playable Map Area will interfere with any other illusions he DOES NOT want to effect.
#4
Hmm... True ;)

Thankyou, then i know to :D