じ☆ve冰风 发表于 7 天前

How to make a teleportation device with multiple locations

Hello, my name is Mike and this tutorial is going to show you how to set up a teleportation device as an item that can be used by your character to save 3 custom locations to travel to. This is free to use for free games and for commercial games, because remember, SHARING IS CARING!

Now let's get on with it:

I have color-coded them to make it easier to connect the dots.

STEP 1: CREATE 3 NEW ACTORS IN YOUR DATABASE

Spoiler
http://i48.tinypic.com/21999pc.jpg

I named mine 'LOCATION 1', 'LOCATION 2' AND 'LOCATION 3' so that when you open the name-input processing window it shows up, even when there is no location saved yet.




STEP 2: MAKE AN ITEM IN YOUR DATABASE.

Spoiler
http://i48.tinypic.com/35i7sxw.jpg

Make sure you match the boxes in yours with what I highlighted, the name can be anything you want.

Be sure to use the 'Effects' box to call your common event. Mine is named 'TELEPORTER'.




STEP 3: CREATE 9 VARIABLES
Spoiler
http://i50.tinypic.com/723cyp.jpg
It is 9 total variables total but it's easier to look at it as 3 variables each for 3 locations, as follows:


[*]Location 1
              Var. 1. Map X
              Var. 2. Map Y
              Var. 3. Map ID
[*]Location 2
              Var. 1. Map X
              Var. 2. Map Y
              Var. 3. Map ID
[*]Location 3
              Var. 1. Map X
              Var. 2. Map Y
              Var. 3. Map ID




NOTE: The names can differ from mine, but I would recommend that whatever you DO name them, make sure you can easily identify which variable is which.


STEP 4: MAKE YOUR COMMON EVENT

Spoiler
http://i45.tinypic.com/290wi7b.jpg


http://i49.tinypic.com/16gbu6t.jpg


http://i50.tinypic.com/8zigxj.jpg


http://i45.tinypic.com/2po8mrm.jpg




EDIT: IMPROVED DESCRIPTIONS AND ADDED SCREENSHOTS


本贴来自国际rpgmaker官方论坛作者:mike_your_bro处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/how-to-make-a-teleportation-device-with-multiple-locations.3775/
页: [1]
查看完整版本: How to make a teleportation device with multiple locations