Ship from Overworld Event?

Trianglon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
53
Reaction score
3
First Language
English
Primarily Uses
Ok, I'm trying to do something interesting in a game I'm working on and I managed to figure out about half of it on my own but I need some help with it.


Here's what I'm trying to do:


The new project I'm working on has a lot of sea travel so what I want to do is, at any time while you're on the ocean in the ship, be able to hit a button and it'll ask you "Do you want to go inside the ship?" and It'll transfer you to the interior of the ship where you can check on crew members and do other stuff on there and whenever you go to the ship's wheel, It'll transfer you back to where you were in the ocean as a ship.What I managed to figure out is the basic transferring part. What I need help with is...


A ) How to remember what place you were at when you transferred 


B ) How to change from the ship form to character form during transfer and vice versa


Anyone who can help me is much appreciated! :)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Before transferring, use Control Variables to set 3 different variables to the current map id, x and y location.  Then you can use those variables in the Transfer command to get you back again.


For the character change, I'd fade out the screen before doing the transfer, do a Get on/off Vehicle command, transfer to the ship interior and face in again.  Then the same the other way around.  You may need to set the player to THROUGH before the get on/off vehicle to allow them to walk on the water, and when changing back to the ship, I think you'll have to put them one tile away from the ship, facing the ship, before doing the get on/off vehicle command.  This could simply be transferring the character to the vehicle position and then taking a step up and turning to face down (unless the y variable happens to be set to 0).


There might be easier solutions.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top