じ☆ve冰风 发表于 3 天前

Entering Your Airship While Flying Over Any Terrain (WITH ONLY EVENTING)

I'm still a greenhorn when it comes to eventing as of this post but this method worked for me, and other people might have had similar issues as I did during trial and error.

So building on Driftwood Gaming's Airship Entry tutorial video, I did some testing to overcome beyond entering the airship only over walkable terrain. For point of reference, I'm currently using MV v1.62 and a ton of plugins that may/may not have made things more difficult.

When I tried to do things directly with two events, the test play ended up in error screen or not being to fade back in after fading out.

I fiddled around until I found a roundabout method that works, chopping up the process into separate events. This method might not be necessary for everyone but if everything else is failing, one could at least try it like I did.

First start off with 3 maps - world map, transition map, and airship interior.

World Map has Event 1
Transition Map has Event 2
Airship Interior has Events 3 and 4

Event 1:
<parallel>

--If: Airship is driven
----If: Button is pressed down
------Fadeout Screen
------Control Variables: = Map ID
------Control Variables: = Map X of Player
------Control Variables: = Map Y of Player
------Control Switches: = ON
------Control Switches: = ON
------Transfer Player: Transition Map (I set Fade to None just in case)


Event 2:
<SWITCH: Airship Transition>
<parallel>

--If: Airship is driven
----Get on/off Vehicle
----Wait: 60 frames
----Transfer Player: Airship Interior


Event 3
<SWITCH: Airship Interior>
<parallel>
Fadein Screen


Event 4
<action button>
Control Switches: = OFF
Control Switches: = OFF
Fadeout Screen
Transfer Player: Transition Map
Get on/off Vehicle
Wait: 60 frames
Transfer Player: {Airship Map ID} ({Airship X}, {Airship Y})
Fadein Screen


本贴来自国际rpgmaker官方论坛作者:Storyteller-Hero处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/entering-your-airship-while-flying-over-any-terrain-with-only-eventing.114700/
页: [1]
查看完整版本: Entering Your Airship While Flying Over Any Terrain (WITH ONLY EVENTING)