RPGMaker MV Command to Optimize Equipment from an Event

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
253
Reaction score
39
First Language
English
Primarily Uses
RMMV
Is there a way to optimize equipment in RPGMaker MV via an event like what could be done in VX?


VX used the following command


$game_actors[1].optimize_equipments


as detailed in the post below... but if I use this command in MV, I get the error shown below.


Screen Shot 2016-06-18 at 6.23.13 PM.png
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
because there is no such thing as $game_actors in MV.  VX and Ace use Ruby, MV uses Javascript.  Object names and method names have changed.  You can't just copy a bit of code that worked in one and expect it to work in the other.


$gameActors.actor(1).optimizeEquipments()
 
Last edited by a moderator:

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
253
Reaction score
39
First Language
English
Primarily Uses
RMMV
I figured the commands/code was different. That's why I asked. Thanks so much! That solves my issue.
 

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top