This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linking_maps_tutorial [2017/07/26 16:36] – justin | linking_maps_tutorial [2017/11/07 11:27] – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Linking Maps Together====== | + | ======Linking Maps====== |
---- | ---- | ||
- | ======(Work in Progress)====== | + | This tutorial demonstrates how to link one map to another |
- | This tutorial demonstrates how to link one map to another | + | <WRAP center round info 100%> |
+ | You can now also use the " | ||
+ | </ | ||
- | To begin, open the map that you want to link to in the Map Editor and switch into Edit Mode. In this example, I will be linking to a dungeon map. | + | **1)** Open the destination |
+ | **2)** Locate the the target tile that you want the player to be positioned on after the map has loaded (in this case, the stairs), then right-click on the tile and select "Copy (X,Y,Z) Coordinate" | ||
+ | {{: | ||
- | Next, locate the the target tile that you want the player | + | **3)** At this point, we are going to create |
+ | **4)** Open the map you will be linking from (the wilderness map) in the [[Map Editor]] and locate the tile that should trigger the destination map to be loaded when the player steps onto it. Using our example, this would be the dungeon entrance tile. Right-click on this tile and select " | ||
+ | {{: | ||
- | Now open the map you will be linking | + | **5)** Select "Quick Script" |
+ | {{: | ||
+ | **6)** In the palette list on the left, double-click the [[Load Map]] function to add it to the script. You will want to change the function parameters (map name, XYZ [[coordinate]], | ||
- | Select Quick Script from the Script dropdown box and then click the pencil icon to start editing the Quick Script in the Quick Script Builder. | + | {{: |
+ | **7)** Click OK to close the [[Quick Script Builder]], then close the Properties dialog. If markers are enabled in the [[Map Editor]], you'll see a marker icon ({{: | ||
+ | {{: | ||
- | In the palette list on the left, double-click the Load Map function to add it to the script. You will want to change | + | **8)** I will also demonstrate how to visually create |
+ | **9)** Click the "New Resource" | ||
+ | {{: | ||
- | Click OK to close the Quick Script Builder | + | **10)** Find the [[Load Map]] item in the function list on the left and double-click it to add it to your visual script. Then click and drag from the output connector of the " |
+ | {{: | ||
+ | **11)** Open the map you will be linking from (the wilderness map) in the [[Map Editor]] and locate the tile that should trigger the destination map to be loaded when the player steps onto it. Using our example, this would be the dungeon entrance tile. Right-click on this tile and select " | ||
- | Save the map, and then follow the same procedure to make the reverse connection (for example, linking from the dungeon back to the main starting | + | {{: |
+ | |||
+ | If markers are enabled in the [[Map Editor]], you'll see a marker icon ({{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **12)** | ||
+ | |||
+ | {{: |