Quote from: KhrisMUC on Thu 12/03/2009 10:01:05Quote from: MegzHeartcho on Thu 12/03/2009 00:03:04Yes, you can check if the player has the item in their possession:
Thanks! Though, while I'm still curious, is there a way to have certain actions happen without making certain items in your inventory the active item?Code: ags // walk onto elevator region if (player.HasInventory(iKey)) { Display("Using the key, you activate the elevator."); // animation: doors close player.ChangeRoom(2); } else { Display("The elevator needs a key to work."); player.Walk(250, 135); // optional: walk back off the region }
Awesome, thank you. :3