>
> 1) Make a global variable =0
>
> 2) make a function or multiple functions
>
> 3) When the global variable =1, then trigger the functions to be true.
>
> 4) Dont forget to include the event sheet with other events sheets.
>
> Easy as cake!!
>
I strongly suggest to avoid global variables as much as you can if you plan to do a big project. Global variables bring mess to the project and block the possibility of encapsulation. It is already a pain in C2 that all functions are global.
Well the OP wanted a method so he doesn't have to repeat the same code over and over. Because a global variable isn't encapsulated , then he can just call it easily whenever he needs to without having to repeat code over and over.
The only thing in my opinion that brings a mess to a large project is not writing down want you want 1st. Before I take on a larger game I write down in notepad the different scenarios and things I want in the game. That way I don't get stuck in the middle because I calculated what I was going to do.