Hi, making a story based RPG in VX Ace. Is there anyway for the Select Key Item event to show the item description for the item currently selected? As I am making a 'present evidence' mechanic much like an Ace Attorney game, it would be helpful if I was able to show the item data at the select key item event, so the player can see the information regarding the item they are about to present.
Ace Attorney Example:
Select Key Item with Item Descriptions?
● ARCHIVED · READ-ONLY
-
-
You would need a custom script for that, although I do not know of any available at the moment.
I would recommend that you get acquintanced with your engine first of all, if you haven't already done so.
I can provide links for you if you'd like. -
Okay what you will need is to insert this line of code into:
Window_Base at line 237
result.gsub!(/\eM\[(\d+)\]/i) { item = $data_items[$1.to_i]; item ? item.description : ""}Then set up an event using the select key item event.
Then use a show text event with the following command i is where you stored the variable (so if you used your select key item command to variable 1 put 1 for i).
\M[\V]
Let me know if you run into problems. :) -
That's just what I was looking for! Thanks :)
-
Glad I could help. :D
-
I'll write this down as well.
Thanks, Sarlecc! ^^ -
I have 'marked solved' the original post that actually solved your issue. Next time you have a question and it's answered, please use this button on the post that provides the answer, as that makes that post appear at the top of the screen. When others view the thread, they can see the answer immediately :)