Ok, I’m a little “old school” an am use to compiling C++ programs which are sequential in nature. I’m trying to get my arms around which actions occur and in what sequence when dealing with logic bricks, scripts, and the game engine. I’ve been looking at trying to understand and duplicate the menu system that is posted here …
… but I can’t find where the program actually starts once the user hits the P-Key. How does Blender know which script to execute first? Is it based on the current displayed scene and the associated linked logic and scripts? If you have 2 objects with an ALWAYS sensor linked to 2 different scripts - which one executes first?
I’ve been through the file several times and understand the logic behind the fades, switching scenes, user selections, and the rest of the menu system … but I’m i’m a little confused as to which segment of code gets executed first … any insights? Thanks!