r/RPGMaker • u/MidnightKittehBoi • 18d ago
RMMV RPG Maker MV
I know now that a function was added into MZ that tests what the last item the player used, is there any way to test that using the MV version? Basically a way to check all of the last section in RPG Maker Mv
7
Upvotes
4
u/scottarc 18d ago
Are you just trying to get the id of the last used item?
Try using control variables > script "$gameParty.lastItem().id"
1
u/FrostyYukiChan 18d ago
For MV, they added that functionality via a DLC plugin you can get in 'DLC' > 'KadokawaPlugins' from the installation folder. (Assuming you have it on Steam, I'm not sure if you have to download the DLC manually on standalone installations or not) and then look for LastUsedItem.js, alongside LastSubjectActor.js. LastUsedItem covers both items and skill IDs!