• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Scripting Question] Custom Location Signpost halfway through map

  • 1
    Posts
    1
    Days
    • Seen yesterday
    I am trying to place an event that will trigger a custom Location Signpost halfway through a map, as I have two sections (a route and a town) that need to be on the same map to avoid some other technical issues I've been facing.

    I have tried several different approaches to a small bit of script that is intended to trigger and call the LocationWindow class from Overworld_Overlays when the player walks through the connecting region between map and town, the contents of the signpost box changing based on direction travelled. So far, nothing has worked, though. At best, nothing happens. At worst, I get any number of errors, usually a name or argument exception stating I hadn't provided an expected parameter.

    Right now, this is the current script I have:
    showName = "Route 2"
    LocationWindow.new(showName)

    I also attempted this, at one point, which didn't work either:
    LocationWindow.new("Route 2")
    $scene.spriteset.addUserSprite(LocationWindow.new("Route 2"))

    Both of these are loosely taken from sources that have previously tried to do something like this, though I couldn't find if they were successful or not, and my understanding of the scripting side of XP/Essentials isn't deep enough right now to be confident in troubleshooting this blindly. At this point, any help I could get to make this work would be deeply appreciated.

    Even if there's nothing to be done, though, thank you for your time.

    -Wixelt :)
     
    Last edited:
    Back
    Top