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

Keys For Gates

Status
Not open for further replies.
Level 3
Joined
Apr 23, 2011
Messages
46
Hey All,
In my map are A Lot of Doors that may only
be opened by Having keys in the inventory,
The Problem is, You got a Total of 4 Heros, and
The Door opens if The Key is in any Slot of any
Hero, That would take damn long for sooo much doors.
is there any other way?

I Tried Something like this:
  • Events
    • Einheit - A unit enters Gebiet 079 <gen>
  • Conditions
    • (Item-type of (Item carried by (Entering unit) in slot 1)) Gleich Schlüssel
    • (Item-type of (Item carried by (Entering unit) in slot 2)) Gleich Schlüssel
    • (Item-type of (Item carried by (Entering unit) in slot 3)) Gleich Schlüssel
    • (Item-type of (Item carried by (Entering unit) in slot 4)) Gleich Schlüssel
    • (Item-type of (Item carried by (Entering unit) in slot 5)) Gleich Schlüssel
    • (Item-type of (Item carried by (Entering unit) in slot 6)) Gleich Schlüssel
  • Actions
    • Zerstörbar - Öffnen Dämonentor (horizontal) 6807 <gen>
But thats too much for that amount of doors and keys and 4 Heros.
How to make it Easier?
 
Status
Not open for further replies.
Top