Show Picture Help

I'm trying to do two things, and I can't get either to work.


First, highlight interactive items on the map. My plan for this is to run a parallel event which checks the player's x and y coordinates and if those coordinates are equal to a space next to an intractable event, show a picture at the event (I haven't decided what yet, let's say a white square around the interactive tile). I could also use a player touch event next to the interactable item.


Second, black out rooms the player isn't in without removing those rooms from the map. Here I just planned to use player touch events at doorways which would fade in a black picture over the room you were leaving and unfade the black picture over the room you where entering. 


My problem for both of these is the same. I can't figure out how to set where the picture shows up on the map. I've tried using Direct Designation and Designation with Variables and neither has any effect (regardless of the numbers or variables I put in). I have tried adding a move picture right after show picture, and nothing happens. What am I missing? 
1. I would use this plugin and set the common event to show the highlight. Then on the map set the region around the item. I used a similar concept in Ace, and set the region in say a 3-4 tile radius around the item. I will say, I haven't used that plugin, but based on the description, it should do what you need.


2. I'm really not sure how best to achieve this, so I'll let others comment on it.
1. I would use this plugin and set the common event to show the highlight. Then on the map set the region around the item. I used a similar concept in Ace, and set the region in say a 3-4 tile radius around the item. I will say, I haven't used that plugin, but based on the description, it should do what you need.



Thanks for the quick response. I do have the plugin, and I could use that as well as either the x, y designation or just player touch, but what do you mean by 'show highlight'? I don't have any problem getting a picture to appear on the map when I step in a certain place, my issue is that the picture always appears in the left hand corner of the screen - either starting from the pictures top left or the pictures top center depending upon what I chose as the origin point, and I can't have the picture move or show up anywhere else. I feel like this should be accomplished with the direct designation or variable designation features, but neither of those have any effect. I can set them to whatever I want and the picture still only shows in the top left corner. 
Not sure if it's what you've done, but when you use the direct designation, you need to put a pixel value in, not a tile value. So if I needed my top left corner to be at tile 10, 5 I would need to multiply those numbers by 48 to get my pixel value. The X would be 480 and the Y 240. I just tested this out and it worked perfectly, so if it still doesn't work for you, I guess I'm completely misunderstanding and perhaps we'll have to wait for someone else to help you.
Not sure if it's what you've done, but when you use the direct designation, you need to put a pixel value in, not a tile value. So if I needed my top left corner to be at tile 10, 5 I would need to multiply those numbers by 48 to get my pixel value. The X would be 480 and the Y 240. I just tested this out and it worked perfectly, so if it still doesn't work for you, I guess I'm completely misunderstanding and perhaps we'll have to wait for someone else to help you.



No, thanks, that was exactly what I didn't know - Direct designation as pixel value worked just fine and solves my immediate problems. I do have a further question though since you understand this. How does designate with variables work? I set up an event to track the x and y variables of my character, and set the picture to appear based upon those variables, and it still just appeared in the top left. What am I missing there? 


Thanks again.
those variables, and it still just appeared in the top left. What am I missing there? 

The same thing - picture coordinates are in pixels, but the game coordinates (gotten from control variables) are grid numbers.


You need to multiply it with the tile size to get the pixel numbers
Well, I'm experimenting with this trying to figure it out, as I've never really used these settings before. Because of that someone might have a better solution. It seems that the variable designation is also pixels, so you will still need to multiply the tile space by 48. Thankfully the variable settings have a multiply function, so just before you use the show picture command, you can control the variable's value (the ones holding the map positions) by multiplying it by 48.


(Also, you don't need to quote someone if they were the last post before your response.)
The same thing - picture coordinates are in pixels, but the game coordinates (gotten from control variables) are grid numbers.


You need to multiply it with the tile size to get the pixel numbers



Cool. What's the best way to accomplish this? 
another control variable command on the same variable to multiply it with 48 (for both coordinates).


MV tiles are 48x48 pixel (unless you changed the grid or are using a different maker)

Original thread: https://forums.rpgmakerweb.com/threads/show-picture-help.62529/