Transition History Not rated

bluebooth

Keeps a list of player transition positions in order from least to most recent.



A number of my scripts require knowledge of the previous (or "calling") player position. For example, a player walks onto a save point, and the game loads a new map with a campsite. At some point, the player opts to leave the campsite, and needs to appear at the position he/she occupied before entering the campsite. On the World Map, this information is tracked so that if a player decides not to use the World Map (cancels out of it), the player will appear at their position prior to entering said map. This same information can easily be used for mini-games, etc. By itself, it isn't hard to do (assign 3 or 4 variables). But I ran into a more complicated use case when considering daisy-chaining world maps.

For example, let's say the player enters your world map. You might have one world map for the Dark Forest zone. The player chooses the first node in that world map, which leads out of the Dark Forest zone, and into the Open Plains zone (if this still is not clear, consider how world maps are handled in games like Super Mario World or Mario RPG). If the player selects cancel while in the Open Plains zone (the second world map called), the player will transition back to the Dark Forest zone world map, at the first node. But the original player position (that is, the player position before the Dark Forest zone) has been lost! In order to get around this, this plugin allows you to track a variable size array of previous locations. And while this has been created with a specific use in mind, the coding allows for any use of it you can think of. I know you guys will come up with some other incredible ways to use it, and I look forward to seeing them!

Available versions
This version doesn't have plugin dependencies.
This version doesn't have plugin dependencies.
This version doesn't have plugin dependencies.
This version doesn't have plugin dependencies.

User reviews (0)


This plugin doesn't have any review.