• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Changing Location Signpost Text based on Variable

  • 39
    Posts
    18
    Years
    • Seen Feb 28, 2024
    Hi all,

    I'm looking to change the color of the location signpost text depending on a game variable from 1-5. I've looked through a few past topics as well as the wiki and I understand how to change it in text messages, but not in the script section.

    Hopefully it's simple - if anyone could help it would be appreciated.

    Thank you
     
    Hi all,

    I'm looking to change the color of the location signpost text depending on a game variable from 1-5. I've looked through a few past topics as well as the wiki and I understand how to change it in text messages, but not in the script section.

    Hopefully it's simple - if anyone could help it would be appreciated.

    Thank you

    You could start it off with a conditional branch - ie 'If variable X = Y, then display this message. If = Z, display this message' etc.

    Then within those separate call text commands, colour them with in-text commands like \r, \b, \[c]1 etc. Examples of these can be found downstairs in your house in base essentials.

    edit: Oh, do you happen to mean the thing that pops up in the top left corner? Yeah I don't know about that.
     
    Search on script about 'LocationWindow', this class does the trick.
     
    Back
    Top