• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need some help for a spell.

Status
Not open for further replies.
Level 1
Joined
Apr 20, 2006
Messages
5
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?
 
Level 2
Joined
Sep 11, 2006
Messages
18
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<- :)
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
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.
 
Status
Not open for further replies.
Top