+ JuJu 73 Posted October 24, 2016 Okay, so I've been working on this problem for a day and a half now, and with little success. I know there's gotta be an easy way to do this, but-- sometimes it takes an extra set of eyes. So for a little game I'm dallying with on the side, basically the player has to get 5 main items along with two soul fragments for each level to pass. Now, my problem is that what I want to happen is this: 1. Player gets two fragments. 2. When Player gets Fragment #2, an event occurs where the two fragments are thrown out of inventory and replaced with a whole soul (a third item). 3. Player uses the Soul item to exit the level. Now, the problem I'm having is this: I know that to get the game to do this, the event will have to double-check to see that both frags. are in the inventory. If they are, then it can go ahead and make the swap. Now the question- what would be the best and simplest way to do this? In the normal eventing screen, there's only a way to check for one item at the time. I've been fiddling with common events, but haven't found an answer that I like. Any suggestions? 1 Share this post Link to post Share on other sites
charlesthehurst 691 Posted October 24, 2016 Okay so I may know a way to do this. Assuming both Fragments are just two copies/instances of the same database item (e.g. Item 3): Use a Control Variable command. Set it to Game Data > Items > Whatever Database Entry your Fragments are This will store the amount of Fragments into the variable. Next use a Conditional Branch command Set it to Variable equals 2, or whatever number of fragments you want as the requirement. In the Branch, add the Whole Soul to the inventory and remove the fragments. Assuming both Fragments are two separate database Items: Use a Conditional Branch Command. Set it to Item > First Fragment Item Now, inside this Branch insert another Conditional Branch. Set this one to Item > Second Fragment Item. In the second branch, add the Whole Soul to the inventory and remove the fragments. The system will check both branches and will give the whole soul only when both conditions are met. 1 Share this post Link to post Share on other sites
+ JuJu 73 Posted October 29, 2016 Your idea worked! As far as I can tell, it's working without a hitch. I have a loop set to call the Common Event on the maps where it would be needed, and so far it's been perfect and hasn't caused any sort of lag in-game. Thanks for your help Share this post Link to post Share on other sites
Rikifive 3,411 Posted October 29, 2016 This thread is closed, due to being solved. If for some reason anybody would like to re-open this thread, just send a message to moderator or report the first post on this thread and ask for its re-opening in the reason box. (= Share this post Link to post Share on other sites