Can you create a skill that unequips the user's weapon or shield?

TheDrifter

Veteran
Veteran
Joined
Apr 18, 2012
Messages
110
Reaction score
4
First Language
English
Primarily Uses
There's an event command that can change an Actor's Equipment, but it asks for a specific Actor.

Is there a way to create a skill that unequips the user's weapon or shield, regardless of which Actor is the user, and without the use of states that lock or seal an equipment slot? (The equipment wouldn't be consumed, just unequipped.)

I've searched for this, but only found script commands that also ask for a specific Actor ID.
$gameActors.actor(0).changeEquip(0, $dataWeapons[0]);

Thanks!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
1,887
Reaction score
621
First Language
Dutch
Primarily Uses
RMMV
you might something looking like this:

var i = 0
var random = []
while (i < $gameParty.size()) {
random.push($gameParty.members().actorId().changeEquip(0, $dataWeapons[0]));

cant garanteed that it will work, but you probably need to seach around this :)
if you got it to work, if its differently, update your main post in case anyone else has
the issue too ^^
 

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

Latest Threads

Latest Posts

Latest Profile Posts

It's raining non stop since yesterday. The sound of the rain is so soothing.
I really miss the old style disney animated movies. I guess the last one was The Princess and the Frog from 2009. Now I am trying to collect every single one I can get on BD or DVD.
What I've seen from the MZ tiles looks pretty inconsistent, bleh. Every plant seems to be drawn in a different style.
Recently posted a demo of my game online. Now I have no idea what to do with myself o_O What is the reason for my existence now...
I'm feeling a lot better this week. Some of the rules in my country for isolation changed a little, so I was able to see friends in person again, which was a huge relief. Thanks everyone for giving me some sympathy last week when I was having a rough time!

Forum statistics

Threads
99,287
Messages
963,879
Members
130,898
Latest member
pilami202
Top