This was requested by _Aqua_ in this thread here.
First, I’d like to say that I used Unpropro’s buying and placing items eventing tutorial as a base to set this up.
If you want to add an animation of the character placing the bread, check out _Aqua _’s post here.
The first thing you need to do is set up your map. I use the premade lost forest map for this tutorial.
This event requires quite a bit of switches and variables, so let’s get those out of the way first.
Items you need to create:
Bread
Switches you need to create:
Bread crumb 1
Bread crumb 2
Bread crumb 3
Bread crumb 4
Bread crumb 5
(Make as many switches you need for the bread. I’m just using five for the tutorial.)
Variables you need to create:
Player X
Player Y
Bread 1 X
Bread 1 Y
Bread 2 X
Bread 2 Y
Bread 3 X
Bread 3 Y
Bread 4 X
Bread 4 Y
Bread 5 X
Bread 5 Y
Bread Amount
Now, make an event and call it Bread 1. In the conditions switch, have the Bread crumb 1 switch on.

Do this for all the bread crumbs and make sure the switches are changed accordingly.
After you finished making your breadcrumbs, create another event and set it to parallel process. Go to Set Event Location and for the first bread crumb event you made, click designation with variables and put in Bread 1 X for map X and Bread 1 Y for map y.
Do this for all your bread crumbs.

(Note that all those that say Bread Crumb are all different events. I forgot to label them Bread Crumb 1, Bread Crumb 2, etc when I created the events.)
Now we need to have it so we can erase, or collect all the bread if the player messes up on the puzzle. To do this, I’m going to use the Q button as a way to set up the erase feature.
Make a conditional branch for if we press the L button. Make a choice option (just in case the player accidently presses it) where it says “collect all bread” or cancel.
In the collect all bread, turn all the bread crumb switches off. Under all those, click change items, then click on the variable option and choose the Bread Amount variable.
Under that, click control variables and put the Bread Amount to 0.

Now, create a common event and label it Bread. Go to your item and connect the Bread common event to your item.

Go back to your common event and set the Variables Player X to map X and Player Y to the player’s map Y. Then set the variable Bread Amount to add 1.

Now, create a conditional branch to where if the bread amount is equal to 1. Inside that, turn the Bread crumb 1 switch on. Next, set the event location of the Bread crumb 1 event and set it to the variables of Player X and Player Y.
Under that, you will have Bread 1 X equal to Player’s map X and Bread 1 Y equal to Player’s map Y.

Do that for all the breadcrumbs.
This is what your common event should look like when you are finished:


Now, just make sure you give the player the bread items so they can use it.
And that is how you create a bread crumb trail. ![]()










