Change portrait based on class

Discussion in 'JS Plugin Requests' started by yumemirai, Dec 15, 2016.

  1. yumemirai

    yumemirai Warper Member

    Messages:
    2
    Likes Received:
    0
    First Language:
    English
    What I want to do is make a normal message window with a character's portrait, but have that portrait automatically change in-game based on what the character's class is.  I had done something simple myself in VXA but MV is a whole nother animal and I have no clue how to do it.


    Basically, I went to the part of the code that draws the portrait in the message window, and inserted a bit like:


    If portrait == XYZ


     if a particular character's class == N


      portrait = ABC


     if their class == M


      portrait = DEF
     
    #1
  2. continuumg

    continuumg Veteran Veteran

    Messages:
    68
    Likes Received:
    40
    Location:
    Saskatchewan
    First Language:
    English
    I think I could whip up something for you.


    I'll give it a whirl


    EDIT: Try this, @yumemirai


    ContinuumFaceByClass


    Didn't get a chance to test; have to run.


    Should work
     
    Last edited by a moderator: Dec 16, 2016
    #2
  3. nerochepiace

    nerochepiace Veteran Veteran

    Messages:
    48
    Likes Received:
    2
    First Language:
    italian
    #3
  4. continuumg

    continuumg Veteran Veteran

    Messages:
    68
    Likes Received:
    40
    Location:
    Saskatchewan
    First Language:
    English
    Found an error in mine. Corrected
     
    #4

Share This Page