Unequip all with an item?

CrazyCrab

Veteran
Veteran
Joined
Mar 5, 2014
Messages
950
Reaction score
403
First Language
Polish
Hi everyone,

my current project features ''class relics'' that let you change classes on the fly. I've got it to work on the person that it is used on thanks to all the helpful people on the forum, but I have no clue how to make it unequip everything that the targeted actor was wearing...

Right now I have something like this: (common event)

$game_party.target_actor.forget_skill(79)$game_party.target_actor.forget_skill(80)$game_party.target_actor.forget_skill(81)$game_party.target_actor.change_class(3, false)$game_party.target_actor.learn_skill(67)$game_party.target_actor.learn_skill(68)1st three (and more as I add skills) remove previous class skills (there are also personal skills, so I'd rather not remove those), 4th line changes class, 5+ add new lv 1 skills. All that I need now would be a command that removes equipment from the targeted actor and places it back in the inventory.

I'd be really grateful for any tips. :)

Thanks!
 

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

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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.

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top