- Joined
- May 11, 2012
- Messages
- 2,108
How do I (when I use a spell creates illusion) select the specific illusion without adding buff?
Or do I have to use spell which creates buff.
Or do I have to use spell which creates buff.
Doesnot work?
Events
Unit - a unit enters playable map area[
Conditions
Is unit illusion
Same thing. It would still cause me problems. If only there was a way to select specific illusion...
From what I understand, you want to select a certain illusion after a unit has used an illusion ability when there are more than 1 illusion is created. If that's the case, try this. (in this example im gonna make player 1 selects the illusion)
1. You need a boolean variable (e.g. name selectIllusion).
2. When a unit uses the illusion ability, set the boolean variable to true (selectIllusion = true)
3. When a unit enters playable map area and is an illusion and selectIllusion is equal to true, then use
and set selectIllusion = false. That way, when the next illusion is created, selectIllusion is already false and the trigger will not run.
Selection - Select Triggering Unit for Player 1 (Red)
There you go, one of the illusion created is selected by player 1.
Wow, this actually makes sense!
I might apply this thing after all, since this way it won't collide with another illusion creating spell.
Thanks, Shadow Flux