Hey! I want to make an event where the player walks up to a tv and interacts with it for a photo to appear on the screen (not on the tv since thatd be super small, just on the players screen is fine!) then when the player steps away (or after a certain amount of time, whichever is easier) the picture disappears. If it matters I need it to be repeatable whenever a player interacts with the tv again. Please explain it to me like I'm a newbie idiot because I am lol. Thank you!
Show picture event
RPG Maker MV SupportUse the show picture command, then put an empty text box and then erase picture.
I suggest you go read or watch some tutorials, because what you are asking is very basic eventing.
I suggest you go read or watch some tutorials, because what you are asking is very basic eventing.
Since you want them to be able to move, you'll want a parallel event. You could put an event infront of your TV, which turns on a parallel event via switch, with a conditional branch "if player is facing up".(On player touch)
The parallel event then has a conditional branch "If player is facing up." (Assuming your tv faces down, as it usually would in a 2d world.)
If so, it shows an image, else it clears the image and turns off the switch that activated it. That way, when you step infront of the TV, the image appears for as long as you're standing infront of it. Should you move in any other direction, the image clears and the parallel event turns itself off. (The parallel event keeps looping after all.)
Make sure to include like a 5 frame wait at the end of your parallel event to avoid lagging.
I'm pulling this out of my head, but I'm sure Turan will correct me, should I be wrong. One of the unwritten forum rules.
Additionally, when using this method, make sure to use the "Transparent" option in the message box. It'll still display that little arrow at the bottom, which I find ugly personally. There are better ways to do this, but I suppose this method would be the most basic version.
The parallel event then has a conditional branch "If player is facing up." (Assuming your tv faces down, as it usually would in a 2d world.)
If so, it shows an image, else it clears the image and turns off the switch that activated it. That way, when you step infront of the TV, the image appears for as long as you're standing infront of it. Should you move in any other direction, the image clears and the parallel event turns itself off. (The parallel event keeps looping after all.)
Make sure to include like a 5 frame wait at the end of your parallel event to avoid lagging.
I'm pulling this out of my head, but I'm sure Turan will correct me, should I be wrong. One of the unwritten forum rules.
This is neither "When the player steps away" nor "After a certain amount of time".
Additionally, when using this method, make sure to use the "Transparent" option in the message box. It'll still display that little arrow at the bottom, which I find ugly personally. There are better ways to do this, but I suppose this method would be the most basic version.
I know, but OP wanted the picture to appear when he interacted with the TV, so I figured a "turn the TV on/off" solution would be more appropriate and easier to do.
Anyway, yeah, the empty text box should be transparent, forgot to mention that.
Anyway, yeah, the empty text box should be transparent, forgot to mention that.
Wouldn't that be effectively the same as not allowing movement since the player can't go up into the tv and turning any other direction will turn it off?
You could, in the parallel event, check the distance between the TV event and the player and if it's greater than 2 or 3 or whatever, erase the picture and turn off the parallel event switch.
Technically yes. I was just going off of "realism", since they couldn't technically see the screen anymore if they turned away.
You can of course modify it to turn it off after a certain distance too.
You can of course modify it to turn it off after a certain distance too.
tysm!! I'm still super new to events and a lot of the tutorials I've found have either been really specific or really hard to understand lol. Appreciate ya!
Original thread: https://forums.rpgmakerweb.com/threads/show-picture-event.163291/