• 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.

Reflection

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
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)
 
Level 4
Joined
Oct 20, 2011
Messages
129
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)

Think about creating illusion of an enemy.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
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)
 
Level 4
Joined
Oct 20, 2011
Messages
129
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)

lol Don't need to do that. Just use ability Wand of Illusion.
However, if you want a trigger to affect these illusion, just pick unit with illusion buff.
  • Unit Group - Pick all unit in 250 of TempLoc matching (Matching unit has buff Illusion equal to true) and do action
 
Status
Not open for further replies.
Top