How to make text appear when you enter a certain map?

Status
Not open for further replies.

MrFishManify

Villager
Member
Joined
Aug 11, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
So I'm making a house at the moment and I wanted to make the second floor. But as the second floor is full of crates, bags and overall storage, I would like the main character (player) to say something like: "What a mess!" when he enters it. But how do I set up an event to trigger when I enter the map "floor 2"? Thank you very much, MrFishManify
 

hiromu656

Praise the Sun (Arcana)
Veteran
Joined
Mar 10, 2013
Messages
437
Reaction score
123
First Language
English
Primarily Uses
RMVXA
You can really just put a blank event anywhere on the map and set it to Autorun. Just make sure to get rid of it in the end so that it doesn't loop.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
I've done this by adding the event to the same event that transfers the player to that location. Just transfer the player first, then below that part of the event, add your text. However, this way it will run every time you transfer up there unless you do self-switches or a conditional loop check.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
I suggest you take some time to work through the basic tutorials, because what you asked is very basic eventing.


There are several ways to do this, depending on what exactly you want to do and how your maps work - one way is the autorun trigger mentioned above, but you could also simply make an invisible event on the floor, priority below actor and set to player touch - then the contents would be executed when the player steps on that event.


Please follow the link in my signature if you are looking for the basic tutorials mentioned above.
 

MrFishManify

Villager
Member
Joined
Aug 11, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
I've done this by adding the event to the same event that transfers the player to that location. Just transfer the player first, then below that part of the event, add your text. However, this way it will run every time you transfer up there unless you do self-switches or a conditional loop check.
Oh my god, how did I not think of this? I just didn't register that you can do that haha :) had a brain freeze :p
 

MrFishManify

Villager
Member
Joined
Aug 11, 2014
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Thanks everyone, very helpful answers :)
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
You can really just put a blank event anywhere on the map and set it to Autorun. Just make sure to get rid of it in the end so that it doesn't loop.
^This

OP, the most efficient way to get rid of/turn off such a event, is to use the erase event command, this way it wont waste switches, and it will happen every time you reenter that map.

To Bgilisp: Really, the input text command is actually one of the commands that carry over after the transfer player command? That's really weird that such a command would, but hey, if it works, it works.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Why would you want the character to comment on how messy the room is EVERY time they enter? Use a self switch and an extra page conditioned by that self switch with no commands. Text shows the first time, and never again. IF you want to do it the autorun way.


And yes, Show Text (not Input Text) will work after a transfer to the next map.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

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
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top