So, I have a lamp item that when used, it applies a state that goes away after moving 1 step. I have a common event set up where when the state is inflicted, it triggers an event that flashes a light. That all works well, but I only want the item to be used on the appropriate map and display a message when you can't use it. I'm using a script that detects what region ID that you are standing on and is called through a script in a conditional branch. The script is a modified version of the answer to the forum here: http://www.rpgmakercentral.com/topic/22341-check-region-behind-player/ All I did was change the def region_behind_player(range=1) to def region_below_player(range=0) To get to my question, is there any way to detect when the lamp item is used through the menu (not in battle)? It would be great if it could be used in a conditional branch. If you need a screenshot of the common event I'll send it. Sorry if I messed up anything, this is my first time posting.
Is there a way to detect when an item is used?
RPG Maker VXAce SupportOriginal thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-detect-when-an-item-is-used.66177/