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

Key>Door

Status
Not open for further replies.
Level 2
Joined
Sep 7, 2011
Messages
9
Hello . can some1 tell how to make a Gate that only can be opend by a key(item) Thanks. and please make a simple Explenation
And sry for spelling
 
Level 4
Joined
Dec 15, 2007
Messages
96
  • TriggerDoor1
    • Events
      • Unit - A unit enters StoneDoor1 <gen>
    • Conditions
      • ((Entering unit) has an item of type Stone Key) Equal to True
    • Actions
      • Trigger - Turn off (This trigger)
      • Item - Remove (Item carried by (Entering unit) of type Stone Key)
      • Destructible - Open Icy Gate (Horizontal) 2943 <gen>
      • Sound - Play GateEpicBash <gen> at 100.00% volume, located at (Position of Icy Gate (Horizontal) 2943 <gen>) with Z offset 0.00
If your heroes have Mirror Image, or Wand of Illusion available, you might want to add condition:
  • ((Entering unit) is an illusion) Equal to False
This way it should be safe and unbuggable.
More or less anyway.
 
Status
Not open for further replies.
Top