— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Loads the specified map. The player will start on the tile at the specified (X,Y,Z) coordinate. The initial direction of the player can optionally be specified. If the player is currently in a map, the screen will fade out and then fade back in once the new map is loaded.
load_map(map_name, player_coord, player_direction)
Argument | Description | Type | Required |
---|---|---|---|
map_name | Name of the map to load. | String | Yes |
player_coord | Coordinate of the tile on which to position the player. | Coordinate | Yes |
player_direction | Cardinal direction to face the player towards. | Constant | No |
load_map("Start Map", coord[3, 2, 0], SOUTH)
The map with resource name “Start Map” will be loaded and the player will placed onto the tile at coordinate (3, 2, 0) facing south.