I'm making a defense map and when a player (Red in this case) uses a specific item, it can sabotage player Blue by spawning some monsters on his area to attack him.
The item is a purchasable called "Zombie Lure (Blue)" I do not know which condition to use when the hero uses this "Zombie Lure". The current trigger looks like this.
Is there a condition like " Used item Equal To Zombie Lure (Blue) " ? It would make things easier...
Problems faced :
-After this Zombie Lure is purchased, any item Red uses spawns monsters on blue's area.
Need help in :
The correct Event or Condition when a unit uses a specific item, not any item.
Thanks in advance
-fuji
The item is a purchasable called "Zombie Lure (Blue)" I do not know which condition to use when the hero uses this "Zombie Lure". The current trigger looks like this.
Is there a condition like " Used item Equal To Zombie Lure (Blue) " ? It would make things easier...
Events
Unit - A unit owned by Player 1 (Red) Uses an item
Conditions
(Guy who wish he was happy. 0004 <gen> has an item of type Zombie Lure (Blue)) Equal to True
Actions
Quest - Display to (All players) the Hint message: Red has just sabota...
Cinematic - Ping minimap for Player Group - Player 2 (Blue) at (Center of Blue Attack 2 <gen>) for 3.00 seconds, using a Warning ping of color (100.00%, 100.00%, 100.00%)
Cinematic - Ping minimap for Player Group - Player 2 (Blue) at (Center of Blue Attack 1 <gen>) for 3.00 seconds, using a Warning ping of color (100.00%, 100.00%, 100.00%)
Unit - Create 5 Mutated Horde for Player 12 (Brown) at (Random point in Blue Attack 1 <gen>) facing Default building facing degrees
Unit - Create 5 Mutated Horde for Player 12 (Brown) at (Random point in Blue Attack 2 <gen>) facing Default building facing degrees
Problems faced :
-After this Zombie Lure is purchased, any item Red uses spawns monsters on blue's area.
Need help in :
The correct Event or Condition when a unit uses a specific item, not any item.
Thanks in advance
-fuji