Camp woes

Status
Not open for further replies.

Dragon Brother

Survive, Adapt, Infest.
Veteran
Joined
Dec 30, 2015
Messages
102
Reaction score
133
First Language
English
Primarily Uses
RMVXA
I certainly hope I have the right forum here, if not, forgive My most sincere mistake.

I am bringing up a subject that by now You may have anwsered but I was never able to get a clear method on, Campsite access/exiting, Now to be clear I have the variable formula down, to a fault, however everytime I use it I am transported to a map in which I did not originate, in laymans I start in one map, use camp item, go to camp, exit camp end up in a completely diferent map!

I am using Win vista with a steam bought RPGMvxA program.

I know You are probably tired of answering this question, but to be fair this is my first time asking directly and it is on a diferent issue related to this subject, any help is greatly appreciated.

Thank You.

 
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
So you want an item that temporarily transports the player to an instanced camp site then back to their original location once used again? No sweat. (take a close look at the variables used)


camp_event_00.PNGcamp_event_01.PNG


I used a few script calls so I'll go ahead and list em to avoid confusion.

Code:
$game_player.x # Returns the player's current x coordinate.
$game_player.y # Returns the player's current y coordinate.
$game_map.map_id # Returns the current map ID.
 
Last edited by a moderator:

GreyStone84

Sic Gorgiamus Allos Subjectatus Nunc
Veteran
Joined
Jun 24, 2015
Messages
295
Reaction score
95
First Language
English
Primarily Uses
RMVXA
Just to add to that in case you weren't sure what was happening with Rinobi's event; Rinobi is basically making the event remember what map you were on and the position (X, Y coordinates) you were in when you used your Camp Item. This copies that information into the variables, then transfers you to your Camp Map. Then, when you exit your camp you will go right back to the spot you came from. Rinobi uses script calls which are great, he could have also done this without script calls. Both ways work perfectly IMO.
 

Dragon Brother

Survive, Adapt, Infest.
Veteran
Joined
Dec 30, 2015
Messages
102
Reaction score
133
First Language
English
Primarily Uses
RMVXA
I am doing what You all have told me and it does send Me back to the original map, however, it doesn't place Me exactly to where I used the item, am I doing something wrong?

Screenshot_5.png

Screenshot_6.png

Screenshot_7.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
I am doing what You all have told me and it does send Me back to the original map, however, it doesn't place Me exactly to where I used the item, am I doing something wrong?
yes, because otherwise you'll be at the exact position.


Best guess? You probably mixed up the variables for X and Y, exchanging their coordinates.


Either that or something else changes those variables.


@Rinobi Absolutely no need for scriptcalls here - all three values are part of the game data sequences directly accessable by the control variable command.


In fact it would be better to get comfortable with using the game data sequence instead of the script sequence of control variable, because the game data works the same way for all different makers - the script commands are different in MV for example.
 

Dragon Brother

Survive, Adapt, Infest.
Veteran
Joined
Dec 30, 2015
Messages
102
Reaction score
133
First Language
English
Primarily Uses
RMVXA
Success! with all of You help, fellow Creators, I've solved this issue, You may close this post now, hopefully others having the same issue will be able to find this.
Thank You all.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top