Equipment Optimization Script Command?

Cherry-sama

Veteran
Veteran
Joined
Oct 13, 2013
Messages
102
Reaction score
34
First Language
English
Primarily Uses
I have a part in my game where the Player is stripped of his equipment for one battle, and fights it in his undies. Afterward, he puts his clothes back on. I was just wondering if there was a way to to do the Optimize Equipment command in an event so the Player doesn't manually have to put all the armor back on.
 

SumRndmDde

Follower of RNGesus
Veteran
Joined
Jul 30, 2013
Messages
225
Reaction score
424
First Language
English
Primarily Uses
RMMV
Try doing:


$gameActors.actor(id).optimizeEquipments()


And replace "id" with the Actor ID.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

A part of me wants to return back to the beginning and first two chapters and remake them with parallax map. But I have decided not to. Every chapter is just another step in the journey. No need to walk back unless I have to revise dialouge.
Hey guys! Good news!
I just released the Games from Brazil - Part 2 on my Youtube Channel! I am really happy that part 1 had 100 views and I hope more people will be interested to see the potencial of Brazilian Game Devs!
Effervesce Fallacy™ - Attract Mode (proto)
Almost to the finish line!... or the starting... since it's just the demo. :kaomad2:

Forum statistics

Threads
107,570
Messages
1,030,634
Members
139,671
Latest member
WDRS
Top