Hello all! So I'm experimenting and trying to code a scene where you control a side scrolling character and you're able to board and pilot a physics based space ship. I have decent side scroller controls and now I'm beginning to implement some space ship controls. I'm able to "switch" and control the space ship but I can't switch back. The "F" button is a context sensitive button/action so if you're near a switch, near you're ship, near another player, etc, the "F" button will engage some sort of gameplay element/function. In this case, I'm just boarding and unboarding a space ship, switching "characters" or control states, if you will. Hope this is a clear explanation for my question. How would I go about switching on the fly my two modes of play, ground and air?
In the final version, I'd want the player near the ship in order to "board" and control it. I'd like the player to only be able to disembark by a context sensitive action/landing animation when close enough to the ground. Right now though, I'd just like to switch back and forth between the ship and character, from where I left last either one. Here's my code and a gif. I'm new to construct 2. I tried having the space ship code in the same event sheet and a separate one, it makes not difference. Maybe I'm having trouble linking them? Should overall "controls" of any and all characters/vehicles/etc be under the same event sheet? I'm not sure my event sheet management is very good. Thanks for looking at my questions folks!
edit: Deleted my original question over at the main "How do I....? thread. My topic title had a very beginner sounding title compared to the others so thought it probably belonged here.