Quote from: Mel_O_Die on Sat 14/10/2006 18:50:31That code helped me too, thanks! But maybe there's a small error, it works with:Code: ags if (player.ActiveInventory == inventory[x]) { // x is the number of the key in "inventory item", this line will check if the key item is used on the door
if (player.ActiveInventory == iITEMNAME) {