Here's what I want to do:
1) When the player reaches the edge of a map, they will transfer to a randomly selected map. (I've sorted that out, it's a series of conditionals based on a random number call)
2) When the player arrives at the new map, their position will be automatically chosen based on their previous X and Y coordinates.
I have part of this is already set up - I store the player X & Y game data as variables when the player leaves the map. But I don't know how to collect the data on the dimensions of Map 005.
3) How do I collect data about a map the player isn't in yet?
4) And if I have to wait for the player to arrive in the map first, how do I access the information about the Map's current maximum width and height?
Any help would be appreciated. Thanks very much.
1) When the player reaches the edge of a map, they will transfer to a randomly selected map. (I've sorted that out, it's a series of conditionals based on a random number call)
2) When the player arrives at the new map, their position will be automatically chosen based on their previous X and Y coordinates.
- For example, The player is the top of the screen with coordinates X=25 and Y=0 on Map 001,
- The Event is triggered, Player X & Y data is stored as a variable and the player is transferred to one of the random maps, the map could be any width or height (with a minimum of 26 in either X or Y)
- The new X coordinate for the player would remain 25 (taken from the stored variable), and the new Y coordinate would be (Map Y Height -1) placing the player at the bottom part of the map one tile away from the edge (so that they don't trigger another transfer event).
I have part of this is already set up - I store the player X & Y game data as variables when the player leaves the map. But I don't know how to collect the data on the dimensions of Map 005.
3) How do I collect data about a map the player isn't in yet?
4) And if I have to wait for the player to arrive in the map first, how do I access the information about the Map's current maximum width and height?
Any help would be appreciated. Thanks very much.
