Trying to get a simple examine skill to work.

Alright, here is a rather strange one for you. What I need to make is a skill that has the player examine whatever is in fount of them, then give dialog depending on what was there. Which is to say have the game check if there is an event in front of the player's location and direction and then give varied text depending on if there was and if so what it was.

I know about the interact button, and will be using it, but for the nature of the story it is very critical that interacting with items/people and examining them are shown to the player in their own ways. Partly because some items can only be inspected but not interacted with, and partly because the main character is canonically doing both.

I know I could call for a chose when they press the action button, for the same reasons I need the player to have to actively open the menu and select the skill. I know it sounds super weird, but the entire notion of the story falls apart without this.
A while ago I helped someone with a very similar problem: I think this might be useful to you.
... Alright I sort of get it... But I have no idea what "Get Location Info" actually dose once it runs... Like what values will have changed?...
... Alright I sort of get it... But I have no idea what "Get Location Info" actually dose once it runs... Like what values will have changed?...
Whichever variable you select in the first dropdown will change.

But I wouldn't really recommend going with that approach - it sounds like you might have a lot of those objects in your game, and it will require you to add custom eventing logic for every one of them. There is a more general solution lower down.
Thank you but I got it now.

I went with what Andar said for picking a spot to check and pick up an event ID to use as a variable.

The check ability then flips a switch to call in a parallel event that has the text needed for any of the MC's thoughts on people or items in conditional breaches that then resets the value to 0 before turning itself off.

I bet someone here could do more with it, but the examine power is not magical, the MC is just clever.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-get-a-simple-examine-skill-to-work.168671/