Can't Move During Event

I put a weather event to autorun at the top left corner and for some reason, my character won't move.


If I delete the event, my character moves.


Please help.
That is because you placed an autorun - by definition, an autorun stops player movement - that is its main purpose, not to allow the player to interact when it runs.


Depending on what exactly that event does and how it works, you need to either switch it off or erase the event by command before the player can move


I suggest you follow the link to the starting point in my signature to learn more about the basics of the engine, including eventing.
Won't running it as parallel process, instead of autorun, work? 
Won't running it as parallel process, instead of autorun, work? 

That is the worst advice anyone can give for something like that.


It will look like it works at first, but it will also create one hell of lag, and that does not change the fact that most effecs look bad if restarted sixty times per second.


Parallel Processes should NOT be used unless you know exactly what you're doing - for anyone who even suggests that as a primary solution I suggest reading my bughunting tutorial, it is linked in my signature.
That is the worst advice anyone can give for something like that.


It will look like it works at first, but it will also create one hell of lag, and that does not change the fact that most effecs look bad if restarted sixty times per second.


Parallel Processes should NOT be used unless you know exactly what you're doing - for anyone who even suggests that as a primary solution I suggest reading my bughunting tutorial, it is linked in my signature.

Well, I stand corrected. 


Thanks for clarifying. 


I'll check your sig when I'm on the pc.


Replying on my phone right now. 


                      


Yeah, just checked your link, and I see my error was  right at number three, lol.


Very interesting read, thanks for that.


To be honest, I don't really use Parallel Process, but since he wanted  a weather event, I imagined he wanted it to happen while the actor moves (for example, it's raining, but the character still has to make it to his destination in the rain).


I thought the only solution for that would be a parallel process, but I just checked the [Set Weather Effect] command, and I see that it has a "wait for completion" check mark.


Maybe simply unchecking that will allow the character to move, even if the event is set to autorun?
I thought the only solution for that would be a parallel process, but I just checked the [Set Weather Effect] command, and I see that it has a "wait for completion" check mark.


Maybe simply unchecking that will allow the character to move, even if the event is set to autorun?



You will still run into the same issue with that setup.  Autorun events will repeat themselves indefinitely until they are told to stop.
Autorun events are often problematic for people. I've written a tutorial on them specifically, please check my signature, as well as Andar's suggested beginner tutorials.


@markp80nj Please do not use red text in your posts. This and blue are colours used specifically for moderation. Please see the forum rules.
You will still run into the same issue with that setup.  Autorun events will repeat themselves indefinitely until they are told to stop.

So there is no way for a character to move in the rain? 

Autorun events are often problematic for people. I've written a tutorial on them specifically, please check my signature, as well as Andar's suggested beginner tutorials.


@markp80nj Please do not use red text in your posts. This and blue are colours used specifically for moderation. Please see the forum rules.

I read the bughunting one, and skimmed through his first one. 


I'm in bed right now, on the phone, but I can see I definitely have some reading to do. 


Sorry about the red text, I'll fix it, and won't happen again. *shame *
Personally, I think it's strange that a weather effect needs a duration. What if I want it to always rain in a map?


Anyway, that aside, my autorun tutorial should definitely help in this case. Like most autorun events, what needs to occur is a single action, and then the event altered away from being autorun in some way.


If you want weather every time you enter the map, set the weather effect, and then use erase event afterward.


If you want the weather event just once, you set the weather effect, and then set a self switch to on. Have a second page that does nothing and is triggered on player touch and has a condition of the previously-set self switch on.
@markp80njThat wait for completion checkbox will stop player movement for the number of frames indicated in the duration box.  However, the duration box is how long the engine takes to set up the weather effect, not how long it will last.  It will not stop the weather effect until another event tells it to.
Having a single-event in the top left corner for setting up the environmental details of the map is a pretty nice pattern.


I recommend using the weather/tint/etc commands set to 1 frame and no wait, then have an Erase Event command as the last event command.


Oh, and let the event trigger be parallel process.


*hugs*
That is because you placed an autorun - by definition, an autorun stops player movement - that is its main purpose, not to allow the player to interact when it runs.


Depending on what exactly that event does and how it works, you need to either switch it off or erase the event by command before the player can move


I suggest you follow the link to the starting point in my signature to learn more about the basics of the engine, including eventing.





 






 

So autorun would be good for a cutscene where I don't want the player to move then?

Autorun events are often problematic for people. I've written a tutorial on them specifically, please check my signature, as well as Andar's suggested beginner tutorials.






 

I read through most of yours and Andar's tutorials and so far I'm learning a lot.

If you want weather every time you enter the map, set the weather effect, and then use erase event afterward.


If you want the weather event just once, you set the weather effect, and then set a self switch to on. Have a second page that does nothing and is triggered on player touch and has a condition of the previously-set self switch on.






2

I did what you said and it works perfectly.


A big thanks to everyone who helped me.
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/cant-move-during-event.73673/