TextManager Strings problem

Discussion in 'Javascript/Plugin Support' started by Yazzssai, Sep 18, 2017.

  1. Yazzssai

    Yazzssai Warper Member

    Messages:
    1
    Likes Received:
    0
    Location:
    Sweden
    First Language:
    English
    Primarily Uses:
    RMMV
    Sorry if this is a stupid question, but im having a lot of trouble with the TextManager.

    So im trying to create a new command for the title screen. Which ive succeded in doing, exept for one thing: I can not figure out how to use my own strings when displaying the text for the command.

    for example:
    In the TextManager, there is an entry that is called newGame, when referenced, it returns the string "New Game", as seen on the title screen, same goes for all other commands in the game.

    So my question is: How can i add my own strings?

    EDIT:
    I've figured it out.
    for those who are having the same problem: You are not bound to use TextManager Entries, you can directy enter a string, so instead of doing this:
    Code:
    this.addCommand(TextManager.entry, 'id'); 
    you can do this:
    Code:
    this.addCommand("String", 'id');
     
    Last edited: Sep 18, 2017
    #1

Share This Page