Hello everyone. I reached a dead end with one of my event, and I'd like to ask for help. It is not easy to explain, so bear with me. 🙂
My goal is to make a puzzle about using a spade on a specific map coordinate to dig a hole on the ground. If the player stands on the 11,8 coordinate, the character digs a whole, but if the item is used on a wrong spot, nothing happens.
It was very important to not use the "use key item" event, I want the player to open the inventory manually and use the item from there. For this, I made a common event (called Show Talk) with a switch, which is called by the Spade item, if it is used.
This starts the even, as you can see here:
This is page one of the event. It is a paralell process, so it starts running after the used item calls is. First it checks the player coordinates, if the character stands on 11,8. If yes, a self switch switches to even page 2, which is like this:
After the hole is dug, and the text is shown, it switches to page 3 to finish the event:
At this point, everything is OK. But what if the player uses the spade at the wrong position. Nothing should happen of course, so if you check the first event page, you see that with a C self switch, I switched over to page 4, to finish the event:
And here comes the problem. Assume that the player used the spade at the wrong place, ok, nothing happens. But let's say the player figures out where should s/he use the spade after some time, goes there and tries to use it again. But nothing will happen, because at this point, the event already ran its course, flipped to event page 4 and stopped.
I was thinking that maybe on the first page, I should just put a stop event type if the player uses the item on the wrong spot. But if I did that, after that point if player just steps on the right coordinates, the even will start, since it was running all the time in parallel process, and checking the coordinates all the time.
The solution should be something like this: if the item is used on the wrong spot, the parallel processing event should stop, and if the item is used again, it should start from page one again. But I have no idea how to make this.
My goal is to make a puzzle about using a spade on a specific map coordinate to dig a hole on the ground. If the player stands on the 11,8 coordinate, the character digs a whole, but if the item is used on a wrong spot, nothing happens.
It was very important to not use the "use key item" event, I want the player to open the inventory manually and use the item from there. For this, I made a common event (called Show Talk) with a switch, which is called by the Spade item, if it is used.
This starts the even, as you can see here:
I was thinking that maybe on the first page, I should just put a stop event type if the player uses the item on the wrong spot. But if I did that, after that point if player just steps on the right coordinates, the even will start, since it was running all the time in parallel process, and checking the coordinates all the time.
The solution should be something like this: if the item is used on the wrong spot, the parallel processing event should stop, and if the item is used again, it should start from page one again. But I have no idea how to make this.