View picture in inventory?

NickyNick

Warper
Member
Joined
May 20, 2018
Messages
3
Reaction score
2
First Language
English
Primarily Uses
RMMV
I want my player to obtain an item which is a picture and make it able to view in the inventory screen, I'm not sure how to be able to this though? Can anyone help?
 

Snowie

Villager
Member
Joined
Jun 15, 2016
Messages
7
Reaction score
5
First Language
Dutch
Primarily Uses
RMMV
Your item needs to call a Common Event in order for this to work, also make sure that "Consumable" is set to "No" so you don't lose the item after using it.

Like so:

Inside your Common Event, you first need to display the picture, as well as an invisible text window so you can close it on your next button press. Unfortunately, displaying a picture or text in RMMV closes the Menu. You can kinda get around this by calling a short script containing SceneManager.push(Scene_Item). It sadly isn't perfect, because the Item Menu called using that script doesn't go back to the main menu after leaving the item menu. This wasn't a problem in VX Ace, apparently, I wonder why it's different now...

Anyway:


Common Events require you to select a Switch, but it seems you can pick any that you're not using.

(Obligatory credits to Avery for the tilesets seen in this GIF)

It's not perfect, but I hope this brings you closer to what you are searching for!
 
Last edited:

NickyNick

Warper
Member
Joined
May 20, 2018
Messages
3
Reaction score
2
First Language
English
Primarily Uses
RMMV
Thank you! But I have a problem, the picture appears too big on the screen, how do I fix it?

Edit: I've figured it out, Thank you!
 
Last edited:

Ellisvox

Villager
Member
Joined
Mar 2, 2014
Messages
10
Reaction score
1
First Language
Dutch
Primarily Uses
I don't know why it doesnt work for me, but it doesn't. (I replicated every ,move to the tee.)
as soon as I try to click the picture from within my inventory, i get the classsic "buzzer" sound, and I want get further...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top