- Joined
- May 28, 2011
- Messages
- 455
I'm making a spell which creates a reflection of a targeted unit. Is there other alternative besides item illusion and unit - create unit. Unit - create unit is ugly if the targeted unit is a hero. hm. :\
Wait, can you tell me the downside of using Item Illusion ability ?
It works well, most of the time (most famous maps use this base ability, and it worked well, very well)
You can either give a dummy unit item or just order it to use the ability based on its Raw ID (I forgot the index)
Its doable by the wand of illusion ability... as long as you set the targets right...
What do you meant by this ?Think about creating illusion of an enemy.
What do you meant by this ?
Just give the item ability (Item Illusion) to the dummy, and use this action to target the enemy unit:
- Illusion Cast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Illusionism
- Actions
- Set Target = (Target unit of ability being cast)
- Set TargetLoc = (Position of Target)
- Unit - Create 1 Dummy for (Triggering player) at TargetLoc facing Default building facing degrees
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Hero - Create Wand of Illusion and give it to (Last created unit)
- Hero - Order (Last created unit) to use (Item carried by (Last created unit) of type Wand of Illusion) on Target
- Custom script: call RemoveLocation(udg_TargetLoc)
Have you ever seen one in the GUI action performing the ability ?lol Don't need to do that. Just use ability Wand of Illusion.
Have you ever seen one in the GUI action performing the ability ?
Unless you're talking about ordering it via custom script (Ability's Raw ID, it is possible)