HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Using Keys

06-24-2007, 02:37 AM#1
AustralianBeast
I know this is probably extremely simple to do, but how do you make it so when a gate is locked (invulnerable) and a unit with the key in its inventory approaches it, it opens?

Thanks ahead of time for any help that anyone can give me :]
06-24-2007, 02:47 AM#2
TheSecretArts
This should pretty much do it. Its ofe the top of my head
Trigger:
OpenGate
Collapse Events:
Unit - Unit comes within 300 of <gate>
Collapse Conditions:
Unit has item <key> is equal to true
Collapse Actions:
Environment - Open Gate <gate>
06-24-2007, 02:48 AM#3
Ignitedstar
You can also use "A Unit Enters Rect" and make a rect where the gate is. Many older maps did that, but I'm pretty sure that TheSecretarts' way is more efficient.
06-24-2007, 02:51 AM#4
AustralianBeast
Ok, thank you
06-24-2007, 04:51 AM#5
ClichesAreSt00pid
I suggest making a special effect at the position of the gate or person using the key too to make it look awesome, not just some gate opening. And play that gate sound at it too, somewhere in the interface sounds or something like that. Doing things like that should really spice up your map.