Change Class On Equip

Discussion in 'RPG Maker MV' started by oToToToToTo, Aug 7, 2018.

  1. oToToToToTo

    oToToToToTo Veteran Veteran

    Messages:
    46
    Likes Received:
    9
    First Language:
    English
    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.
     
    #1
  2. waynee95

    waynee95 Lunatic Coder Veteran

    Messages:
    617
    Likes Received:
    502
    Location:
    Germany
    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.
     
    #2
    oToToToToTo and Frogboy like this.
  3. Andar

    Andar Veteran Veteran

    Messages:
    28,154
    Likes Received:
    6,375
    Location:
    Germany
    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.
     
    #3

Share This Page