HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item Trigger? HELP!

07-06-2004, 08:43 PM#1
Sabutai
Hey, I need some serious help with this trigger i'm trying to make. I've tried a bunch of things and nothing is working. This is what I'm trying to get done: There is 4 keys on my map, 3 contained by bosses and one from a quest. You have to have all the keys to spawn the bridge and open the door to the boss arena. I have gotten everything for it working except the part where you enter the region and it checks for the 4 keys. I am on RoC if that makes any difference.
07-06-2004, 09:47 PM#2
iNfraNe
dunno if RoC has this commands, but I would have done it this way:

Code:
 
if
    Item carried by (Entering unit) of type (key1) = key1
    Item carried by (Entering unit) of type (key2) = key2
    etc
Then
do what you want 2 do
Else
Game - Display to (All Players) the text: "you need all 4 keys!"
07-06-2004, 10:23 PM#3
Sabutai
No, RoC does not have that command, although It would be great if it did =O. All i can see to work with is item comparison and item-type comparison but I dunno. :(
07-06-2004, 11:35 PM#4
iNfraNe
this is Item comparation! just click the item comp. then click the first value. Select Item carried by hero of type, fill in your item type. click second value, add the key.
07-07-2004, 04:32 AM#5
Sabutai
IT WORKED!!! o_O GJ !!! TY!!!