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

picking up item spawns hostile

Status
Not open for further replies.
Level 2
Joined
Apr 7, 2010
Messages
14
i have a trigger already -

  • Events
  • Unit - A unit acquires an item
  • Conditions
  • (Item-type of (Item being manipulated)) Equal to Item
  • Actions
  • Unit - Create one Enemy at (Center of Playable Map Area)
How do i make it so that if you drop the item and pick it up again, the enemy will not spawn again?
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
  • Item
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
      • Boolean Equal to False
    • Actions
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
      • Set Boolean = True
Boolean is variable of type boolean.
 
Status
Not open for further replies.
Top