RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
RPG Maker XP question

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 87
okay, i'm verrry new to it, but i was wondering how the hell can i get the character to move into a new map, the current way i'm doing it is by event, and then i have to click transport player w/o fade, and to the next map, but it is very hard to do for every single way of getting into the map, and i dont want fences everywhere, so does anyone know a clean way of getting into another map that's faster?

*
A Random Custom Title
Rep:
Level 96
wah
Well, you could use scripting, but in that case, you'd still need to type in a bunch of stuff. Using an event with the Teleport command is pretty much the best way (In my opinion). :P

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
If you have multiple entries to a zone, the best way to do it is to make a single parallel process event like this:

Code: [Select]
Control Variables: [XXX: Player Y] = Character [Player]'s Y
Conditional Branch: Variable [XXX: Player Y] = 0 (#if the entry to the next map is to the north)
     Control Variables [YYY: Map ID] = a ( where a is the ID of the map you are teleporting to)
     Control Variables [ZZZ: Player X] = Character [Player]'s X   
     Teleport [YYY, ZZZ, XXX]

Otherwise, just copy and paste your events if you don't understand variables.

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
The easiest way is to copy and paste your events. Then change where it teleports you for each event.

*
A Random Custom Title
Rep:
Level 96
wah
Shouldn't you also check for Hero's X?

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
No, O_o
Just set it to hero touch.

*
A Random Custom Title
Rep:
Level 96
wah
No, for modern's way with variables.

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
Oh, yeah.

It seems like that'd take longer.

*
A Random Custom Title
Rep:
Level 96
wah
Yeah, but it's all organized in one event (although quite unorganized with many eventing) but, also, the use of the variables could be used in some other places like place memorization and such.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
I checked for X inside the conditional branch, because I was showing it for one direction, namely North.

If you wanted to do multiple directions in one event, then yeah, you would pull it out of the conditional branch. And it takes much longer to go through 20 events and change where it teleports you to then the way I showed.

*
A Random Custom Title
Rep:
Level 96
wah
Code: [Select]
Control Variables: [XXX: Player Y] = Character [Player]'s Y
Conditional Branch: Variable [XXX: Player Y] = 0 (#if the entry to the next map is to the north)
     Control Variables [YYY: Map ID] = a ( where a is the ID of the map you are teleporting to)
     Control Variables [ZZZ: Player X] = Character [Player]'s X   
     Teleport [YYY, ZZZ, XXX]
There's no X checking! You set the X in the conditional branch as a "Control Variable". Wouldn't that mean "When Y=0 (at anytime it is 0), It moves you to the map you want at (0,(Whatever X spot you're on))? :P

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
Well, it moves you to (current X, a).

You will never need to do an X check assuming that there are the same number of squares open in the receiving map as there are in the sending map. The most you will need to do is a displacement (adding/subtracting to/from X). If you have some squares not open, then you would have to do a check to make sure the player does not end up on an impassable square. Otherwise, no X check is necessary. It doesn't really matter too much. If he doesn't know how to use variables well, he will be better off copying and pasting.

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
It really only matters if the player can get to an tile where Y=0 and the player isn't supposed to transfer.

**
Rep: +0/-0Level 87
well, thx for the help, but i guess i either gtta do it by hand, or just put a fence around everything, lol