Emulating "Improving Key Items With Common Events" in MV

overlordmikey

BroCo. Gaming
Veteran
Joined
Sep 2, 2015
Messages
277
Reaction score
511
First Language
English
Primarily Uses
N/A
I am referring to this tutorial.
Now I actually own MZ, but my brother and business partner does not so our current game is in MV not bashing MV I promise.
Obviously MV doesn't have the last option in game data. Now I am assuming I can emulate the last item used by creating a series of common events that changes the variable to whatever item I am using (even if that is a bit cumbersome) but is there anyway to save the character an item is used on into a variable (and well were at it, is there a less cumbersome way to work the last item used variable)?

I'm not sure if I'm gonna use this in the current game, I'm just curious.
 

ThreeSixNine

Veteran
Veteran
Joined
Jan 22, 2019
Messages
356
Reaction score
289
First Language
English
Primarily Uses
RMMV
There is a plugin called LastItemUsed by Yoji Ojima. If you purchased rpg maker through steam it should be in your dlc folder under Kadokawa plugins.
 

overlordmikey

BroCo. Gaming
Veteran
Joined
Sep 2, 2015
Messages
277
Reaction score
511
First Language
English
Primarily Uses
N/A
There is a plugin called LastItemUsed by Yoji Ojima. If you purchased rpg maker through steam it should be in your dlc folder under Kadokawa plugins.
Oh, cool. Why did I not know about this? My brain didn't even think to check my DLC folder.
Well that solves ONE of the issues. :D

Sadly Last Subject Actor doesn't do that same thing as far as I can tell so I still need to figure that out. :D
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,719
Reaction score
8,500
First Language
German
Primarily Uses
RMMV
as said, there are some plugins that give additional storage data. You can find alternative ones as well, for example on himeworks.com if I remember correctly.

however there is also a way to solve this without any script or plugin - it just gets tedious for a large number of actors.

1) create an invisible target state - no messages, no icon, nothing but a name to identify the state.
2) in the item, add that target state as an effect to the item user
3) in the common event, make one conditional branch for each actor checking if he has that state. If yes, execute the commands with that actor and remove the state.

3 needs to be repeated for every possible actor, which is why these common events can get long and tedious.
 

overlordmikey

BroCo. Gaming
Veteran
Joined
Sep 2, 2015
Messages
277
Reaction score
511
First Language
English
Primarily Uses
N/A
as said, there are some plugins that give additional storage data. You can find alternative ones as well, for example on himeworks.com if I remember correctly.

however there is also a way to solve this without any script or plugin - it just gets tedious for a large number of actors.

1) create an invisible target state - no messages, no icon, nothing but a name to identify the state.
2) in the item, add that target state as an effect to the item user
3) in the common event, make one conditional branch for each actor checking if he has that state. If yes, execute the commands with that actor and remove the state.

3 needs to be repeated for every possible actor, which is why these common events can get long and tedious.
That does sound rather tedious. I'll check himeworks and see if they have what I'd need.

Although I suppose I SHOULD also practice doing it without scripts at some point as a learning experince.
 

Latest Threads

Latest Posts

Latest Profile Posts

Uploaded a new Video today where I play Minecraft "The Bridge" please check it out & let me know what you think of it!
I normally only post these every 24 hours, but same-sex marriage is coming to Rune Factory 5 and I just wanted to share it with the world! https://www.xseedgames.com/2021/09/23/rune-factory-5-localization-blog-2/
Today was wild. In the day I worked in my project (and realized I have almost 100 hours wich is a happy surprise), and now i'm having to calm my boyfriend down because of chris pratt Mario.
Mr_Petue wrote on GamchiSamwise's profile.
hey pepe, why do you have a gun on your head? where is wojak?
Still alive! Totally did not finish in time for the Jam (boy that's late) but tl;dr of the last half a year is Work term -> Covid Lockdown -> Sick... again -> Full time Employment. Game stuff has been on hiatus but got a new graphics tablet so hopefully updates again soon. =D

Forum statistics

Threads
115,320
Messages
1,088,921
Members
149,970
Latest member
TuxedoedPenguin
Top