Emulating "Improving Key Items With Common Events" in MV

overlordmikey

BroCo. Gaming
Veteran
Joined
Sep 2, 2015
Messages
277
Reaction score
514
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
357
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
514
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,727
Reaction score
8,509
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
514
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

headshot_headshot.jpg
The theory has been proved. Based on an invisible image's data(the big red dot in the previous image), RM can identify different parts of an enemy and do something respectively. :kaojoy:
Ok.. coding what should be a simple "everyone is petrified and therefore dead, now go to game over screen" shouldn't involve needing to become Dr. J and dunking from the free throw line(my way of saying "jumping through hoops").
Hmmmm... how many xrays til I get super powers?
..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).
headshot_headinfo.jpg
Time to add the "headshot" concept into the game so that people may actually aim at the heads when shooting zombies and get massive damage and armor-pen bonus as rewards. :kaojoy:
(The red area is just for visually debug purposes right now. But, it's possible that I will add something that displays the weak spots of enemies in the future.)

Forum statistics

Threads
115,381
Messages
1,089,422
Members
150,096
Latest member
sanriosimp
Top