Intro script issues regarding start position.

I've been using Mobychan's SceneManager script (located here) to create an intro, however the problem is that after the title screen it will keep going back to the same map (infinite loop) because the creator was "vague" on where to place the Transfer Player command in the events much less state how to.


Now I've tried a few ways of doing it but the end result is either 1) transfers straight to the next map instead of going straight to the title screen or 2) simply doesn't transfer the player and keeps causing the infinite loop issue stated above. The first situation may involve the fact that I have a secondary intro map (where I'm suppose to start on after selecting "New Game") that uses an autorun function to get it to start.


Where would I technically put the Transfer Player command? Is there an "alternate" way of fixing Mobychan's script so that it goes to the "autoplay" map first, if intro on autoplay map finishes or is skipped it switches to the title screen and after selecting "New Game" it will start in the next area without triggering the autoplay map again?
Playing a movie before the title screen is not that hard.


Place an autorun event on an empty map and place the player starting point on that map


start the movie in it, after that transfer the player to the real start map (after a fade out or stuff) and use the event command return to title.


This is what MobyChan says on that link you supplied.


So, have a completely blank map and place the Starting Point on that map. Next, place an Event marked as Autorun on that map and in that event, play your movie. After the movie, in the same Autorun event, place a Transfer Player to a Map (your real beginning map) and also place the event command "Return to Title".


I believe that is what he means, but I haven't tested this script at all. If you want a script that is a bit more useful for intros, you can also try this one:




This is the one I'm using and you can have Movies, Pictures, and/or Text displayed before the Title Screen without all the extra events.


Let me know if you use this XS-Pre Title, because there is one thing that isn't mentioned in that script that you will need to know to use it.
I've been using Mobychan's SceneManager script (located here) to create an intro, however the problem is that after the title screen it will keep going back to the same map (infinite loop) because the creator was "vague" on where to place the Transfer Player command in the events much less state how to.


Now I've tried a few ways of doing it but the end result is either 1) transfers straight to the next map instead of going straight to the title screen or 2) simply doesn't transfer the player and keeps causing the infinite loop issue stated above. The first situation may involve the fact that I have a secondary intro map (where I'm suppose to start on after selecting "New Game") that uses an autorun function to get it to start.


Where would I technically put the Transfer Player command? Is there an "alternate" way of fixing Mobychan's script so that it goes to the "autoplay" map first, if intro on autoplay map finishes or is skipped it switches to the title screen and after selecting "New Game" it will start in the next area without triggering the autoplay map again?

I'm not entirely sure this will work, but perhaps after the event plays and finishes, turn on one of the Self Switches and make another autorun event that transfers the player to the map where the game actually begins. If that doesn't work, then I do recommend the XS Pre Title mentioned above.
A couple of days ago, I was able to get help from someone regarding the issue. We dumped Mobychan's script in favor of Rbahamut's script (located here) but there is just one issue when using Rbahamut's "Above" script that will need some attention. There is a confliction bug caused by Yanfly's Ace Equip Engine but this can be easily resolved with a small modification.


At the top of Yanfly's Ace Equip Engine script, place the follow code.


if !$game_map.nil?
$game_map.map_id = XXXXX ? $runYanfly = false : $runYanfly = true
if $runYanfly = true


Replace XXXXX with the map ID for "$game_map.map_id = " that you have set the Player Start event to.


At the bottom of the script, add three "end" labels as shown.


#==============================================================================
#
# ▼ End of File
#
#==============================================================================
end
end
end




Next, to "change" the location of where you start when selecting "New Game", adjust the following values located at the bottom of Rbahamut's "Below" script.


def self.setup_new_game
create_game_objects
$game_party.setup_starting_members
$game_map.setup(ZZZZZ)
$game_player.moveto(X, Y)
$game_player.refresh
Graphics.frame_count = 0
end
end


Replace ZZZZZ with the map ID.
Replace X and Y with the map coordinates.

At this point, the issue is resolved. I'm leaving these instructions here for those who may plan to use the scripts mentioned to resolve the confliction.

Original thread: https://forums.rpgmakerweb.com/threads/intro-script-issues-regarding-start-position.60967/