Change Class On Equip

oToToToToTo

Veteran
Veteran
Joined
Jul 13, 2015
Messages
46
Reaction score
9
First Language
English
Primarily Uses
As the title suggests I'm looking for a way to change the actors class when they equip a weapon or item. As in: equip a sword to an actor: Class = Swordsman.

It sounded really simple in theory, but I can't see any way to do it without eventing each actor + each class 30x.
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
You can use my plugin: https://www.waynee95.me/way-custom-on-equip-eval/

<Custom On Equip Eval>
user.changeClass(2, true);
</Custom On Equip Eval>

<Custom On Remove Equip Eval>
user.changeClass(1, true);
</Custom On Remove Equip Eval>

Put these notetags in the weapon.
On equip it will change to 2 and on remove it will change to 1. You can change the class ids to your liking.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Not possible without scripts/plugins that trigger on equip.
There is an eventing approach, but that would cause a lot of lag.
 

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,081
Members
137,582
Latest member
Spartacraft
Top