When I try to make a special item as a tool

Firstly, sorry if this has already been requested or even made. I did a lot of searching to find something like this, both on the forums and google, but I havn't had any luck or even an idea of how to implement something like this.

And sorry,my English is poor.

When I try to make a special item as a tool, example, a rope.

first, I make a rope in the database as a item.

then, I make a common event,which make the switch"use the rope" open, and let the common event link to the item rope.

third,I make a event in a map, like :

when the switch "use the rope" is open, determine the player is at the correct event or not.
if the player is at the correct event, send a massage like"your use the rope"; else "there cannot use the rope."

The event is automatic operation, when a player use the rope from inventory, he can get the massaage immediately.

But, the question is ,when there are two same events like this in the map, It cannot works. Because they will run at the same time, it cannot determine where the player is.

How can I do? 微信截图_20240823215537.jpg微信截图_20240823215812.jpg微信截图_20240823220433.jpg
it cannot determine where the player is.
Yes you can.

1724423874155.png

1724423927327.png


1724423999067.png


In fact, you don't need any events on the map at all - this can all be inside the common event for the rope. You can check X, Y, and the current Map ID.
Thank you for your response, the event is my game's feature.
In fact, I do this to determine where the player is:
I use a var, turn it to the event's id, and contrast the player's X,Y
微信图片_20240823225630.png

But, when there are two same events, when the switch "use the rope" is open,they both begin to run.
then one of the event cannot work:asad:

Although the two events are both about use the rope, but what happen will be different.
But, when there are two same events, when the switch "use the rope" is open,they both begin to run.
then one of the event cannot work:asad:
You would need to make them parallel instead of autorun, or have something at the bottom (like erase event) that turns the event off if it fails.

Or, like I said, don't use an event on the map for this - put it in the common event on the rope. Or do both - have events on the map with different switches; use the common event on the rope to check where the player standing and see which of those events to activate.

1724426068147.png
Thank you! I will try more way like what you say.
The two events are both about use the rope, but what happen will be different.
And there maybe have some events all use rope,
so that‘s why I try to use some simple comment events to do this😢
Sure - they just can't all use the same condition.
I don't know the setup of your game, but a much easier way to have the player use the rope would be just having whatever event they're supposed to use the rope on check whether or not they have the rope.

That way they don't have to navigate a menu, the code is contained within a single event, and it can be copy/pasted as many places as you want.

However, if you have a specific reason for doing it via the menu/common events, disregard what I said.
I don't know the setup of your game, but a much easier way to have the player use the rope would be just having whatever event they're supposed to use the rope on check whether or not they have the rope.

That way they don't have to navigate a menu, the code is contained within a single event, and it can be copy/pasted as many places as you want.

However, if you have a specific reason for doing it via the menu/common events, disregard what I said.
In my game, I only give the player some message like" you cannot go there now, maybe you can use something."
The player needs to go to the item's memu, and thinks what can be used.
So, only judge "do the player have the rope " would not work.
But thank you all the same👋

Original thread: https://forums.rpgmakerweb.com/threads/when-i-try-to-make-a-special-item-as-a-tool.171349/