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

Help

Status
Not open for further replies.
Code:
-event
unit - a unit enters region

-condition
or - any (conditions) are true 
conditions
(item carried by (entering unit) in slot 1) equal to key 0001
(item carried by (entering unit) in slot 2) equal to key 0001
(item carried by (entering unit) in slot 3) equal to key 0001
(item carried by (entering unit) in slot 4) equal to key 0001
(item carried by (entering unit) in slot 5) equal to key 0001
(item carried by (entering unit) in slot 6) equal to key 0001

-actions
destructible - open gate 0001
item - remove key 0001

That should work flawless :)
 
Level 2
Joined
Jul 2, 2005
Messages
10
Here you go

Here is exaple of most simple way i know

Even:
A Unit Enters Region (Region 001)

Condition:
[Boolen Comprasion]
If entering unit has item of type Moon Key

Actions:
Open Gate : Elven Gate 052

Or something like that have fun !
And don't take more work by using if item carried in slot 1... couse this takes more time this what i say should work and never mind in wchich slot yo hero have the key !

~Robin Hood
~Credits:
Idead:Robin Hood
Other:Robin Hood
Question:Map King
 
Status
Not open for further replies.
Top