v18 event switches or other?

This thread pertains to v18 of Pokémon Essentials.

PokeHunter

Rookie
Member
Joined
Nov 27, 2020
Posts
4
Age
29
Hey I am pretty new to PE, I am trying to set up one of the first mini events where the characters mom greets them. I was able to figure out how to get her to walk over and have the conversation and go and sit back down but then if I go back upstairs and come back down it restarts the event. This is something I only want to happen the one time. I am sure it has something to do with switches but I am not sure how to set them up properly for this kind of event. I have watched nearly all of Thundaga's videos on youtube which have helped a lot to get me here but I cant figure this one out on my own. any help would be appreciated. at the moment I have it set up as a event as soon as I take a step off of the stairs. this is what the code format looks like.

Untitled.png
 

ThatWelshOne_

Eevee User
Member
Joined
Sep 29, 2020
Posts
28
Yep, your suspicions are correct, you need switches! At the end of your event, have a self-switch activate (see "Control Self Switch" on the first page of event commands).

Then, click "New Event Page" at the top of your event window. Leave the page blank, but tick the "Self Switch" box in the Conditions, making sure it says "A" is ON.

Hope this works!
 

PokeHunter

Rookie
Member
Joined
Nov 27, 2020
Posts
4
Age
29
Yep, your suspicions are correct, you need switches! At the end of your event, have a self-switch activate (see "Control Self Switch" on the first page of event commands).

Then, click "New Event Page" at the top of your event window. Leave the page blank, but tick the "Self Switch" box in the Conditions, making sure it says "A" is ON.

Hope this works!
Thank you so much I was getting switch types mixed up and tried it like you said and now its working great!! I had tried doing it with the control switch not control self switch. silly mistake on my part but I really appreciate your input and help!

Thanks again!
 

ThatWelshOne_

Eevee User
Member
Joined
Sep 29, 2020
Posts
28
You could have used Control Switches. This option is for activating global switches, which are usually used for important events, but they do function exactly like a self-switch.

Variables are another way to control events and are very useful when an event can have multiple outcomes, like choosing a starter Pokémon.

You probably already know this, though, from Thundaga's videos.
 

PokeHunter

Rookie
Member
Joined
Nov 27, 2020
Posts
4
Age
29
I am actually setting up my starters as we speak actually and was just watching his video on that again, however I did not know I could have used a control switch as I tried doing that all night before seeing your reply which took seconds to add. Then I somehow messed something up and glitched out the Mom and the exclamation animation, it would rapidly go off and she started running in a path I did not set. Had to delete the whole map and redo it to get it to stop happening. So now I am finally back on track.
 
Top