Help pls. - Parallel Process lag

Can't you just put an event at the bottom of the stairs to start the basement music on touch, and another at the top to start the original music?
Can't you just put an event at the bottom of the stairs to start the basement music on touch, and another at the top to start the original music?

this.

basic latching logic.
I think the command $game_player.region_id workes just fine. =)

..but the lag.. xD
I think you may have overlooked sciencewarrior's suggestion, 2 posts above yours.

That is the method I use for precisely this type of movement, and it works a treat. Because there are no parallel processes involved, there is no scope for lag, and the change of music is instant.
I think you may have overlooked sciencewarrior's suggestion, 2 posts above yours.

That is the method I use for precisely this type of movement, and it works a treat. Because there are no parallel processes involved, there is no scope for lag, and the change of music is instant.

oh okay. I will try it.

The map has an auto-music. Should this be deactivated?
Try it and see. I personally never use automusic so I don't know.
Try it and see. I personally never use automusic so I don't know.

I tried this solution but it's not really working smooth..

My command worked a little bit smoother.. well if it weren't for the lag.. xD
Was that with or without automusic? If it was without automusic, I assume you set the music for that map in a parallel process with 'erase event' as the last command. It might be worth checking your common events to make sure you haven't got something there which is also running. Check even blank lines, as you may have done something and forgotten to give it a name. Beyond that, all I can say is that it must be something in your specific game, as the method works flawlessly in mine.
About your post that it works on another map:

Lag is cumulative, and each computer has some unused resources that have to be used up before lag becomes detectable.
If the same event works on the other map but not on this one, it means that this map has an additional cause for lag. And only due to the adding of both lag sources the lag becomes detectable.
On the other map there is no such additional lag, so your computer can barely handle the lag produced by this event there. But that does not change the fact that this event creates lag on both maps.

And you should always try to minimize causes for lag...
In light of Andar's post, try changing the event on the other map as well, see what happens there.
Okay. Thanks for the help.

I'll try it. =)
It finally works through scienwarriors tipp. =)

Thanks again everybody! =)

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.

Original thread: https://forums.rpgmakerweb.com/threads/help-pls-parallel-process-lag.85941/