- 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:
I also attempted this, at one point, which didn't work either:
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 :)
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: