Yanfly MiniEventLabel Problem

Discussion in 'Javascript/Plugin Support' started by OmnislashXX, Dec 28, 2018.

  1. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    583
    Likes Received:
    3,596
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    Alright, so I downloaded Yanfly's EventLabel So people know where things are on the map. I've followed directions to the letter,
    but the text isn't showing up over the events. So, the question is, what am I doing wrong? Screenshots provided.

    [​IMG]
    [​IMG] [​IMG]

    Oh yes, and once again, I apologize in advance to any mods if I placed this question in the wrong place.
     
    #1
    Sauteed_Onion likes this.
  2. Sauteed_Onion

    Sauteed_Onion Mmm Tasty Veteran

    Messages:
    554
    Likes Received:
    3,658
    Location:
    Perhaps on a steak or cheeseburger
    First Language:
    English
    Primarily Uses:
    RMMV
    It might be a multitude of things, there could be conflicts with other plug ins, it could be placed in spot in your list of plug ins that keeps it from functioning properly.
    Also, there is a comment that can modify how far away or how close you need to be in order to see the text pop ups. I sent some stuff in pm's that might help.
     
    #2
    SmashArtist likes this.
  3. SmashArtist

    SmashArtist Lazy Artist Veteran

    Messages:
    557
    Likes Received:
    1,005
    First Language:
    English
    Primarily Uses:
    RMMV
    Not sure if this is a big deal, but in the example there's a space before the text you want to appear is put.
    In the comment you put in the event there is no space.
    EX:
    <Mini Label:text> (no space)
    <Mini Label: text> (space)
    So yeah, maybe not the problem, but why not check it if it fixes anything? :kaoswt2:
     
    #3
    Sauteed_Onion likes this.
  4. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,169
    Likes Received:
    10,324
    First Language:
    English
    Primarily Uses:
    RMVXA
    Problems with plugins never go in vanilla MV Support.

    I've moved this thread to Javascript/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #4
  5. Fornoreason1000

    Fornoreason1000 Black Sheep Veteran

    Messages:
    199
    Likes Received:
    92
    Location:
    Anor Londo
    First Language:
    English
    Primarily Uses:
    RMMV
    Just tested this,
    What SmashArtist said appears to be the case

    Code:
    <Mini Label:\C[1]Crestfallen> //doesnt work
    <Mini Label: \C[1]Crestfallen> //works
    I believe this is just a Regular Expression thing, Yanfly's code just expects to see a Space or a normal character, but when you use "escape" characters like "\C" and "\n" the expression might treat as a Non-Match. thus it just stops working because it can't find matching comment tag. Leaving the space makes it more readable and prevents this issue with other things too.
     
    #5
    Sauteed_Onion likes this.
  6. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    583
    Likes Received:
    3,596
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    Ah ok.

    Edit: Ok. That's what it was. It's always some syntax like a space or lack of a space that messes it up. So thanks, everyone.

    You should all know that I made the Mini labels toggle on and off too, using Yanfly's button Common events, a Switch and a simple end event command.

    [​IMG]
     
    Last edited: Dec 28, 2018
    #6
    Sauteed_Onion likes this.

Share This Page