Ok, ok, ok, I know Im freakin out, but the deadline is in a week and I need to know something REALLY IMPORTANT!!!
Ok, so you go to a portal, press space, and the camera changes to a stationary one looking at the computer screen while a overlay comes up. when you get done, you click “DONE!” and the overlay goes away, but I cant figure out how to make it go back to the moveable camera as soon as you press done, because the “when you press done” bricks are in the overlay layer!!!
please help.
(P.S. Im not stupid, of course Ive tried “Set Camera” and It dont work. I can even do a lil bit of python if neccessary…)
Overlay with done button run this on mouseclick sensor:
if not hasattr(GameLogic,"Done"): GameLogic.Done = False #initiate variable
GameLogic.Done = True #when the click sensor triggers script
Camera run this:
if not hasattr(GameLogic,"Done"): GameLogic.Done = False #initiate variable to ensure no errors
if GameLogic.Done == True: then activate the camera (addActiveActuator())
Mind you my scripts are extremely incomplete, they should just give you an idea of what is involved.
You need not use python for this.
When “Done” is clicked you add an actuator to send a Message “ChangeCamera” or something like that.
In the Camera of the First scene add a Message sensor Connected to a SetCamera Actuator. That’s it . your done.
ok. my messages wont work across scenes… Mr. Crunchy, I want to PM you the blend ( not packed, this is for a local contest) and will you PLEASE HELP ME OUT!!!
Well mike if your msg don’t work between scenes may you should have told me
Here is like to a blend file(2.43) where msg works between scenes. http://www.fileden.com/files/2006/12/18/525368/msgcam.blend
The problem is that msg don’t work between scenes only if you specify the OBJECT. If you specify only subject without any OBJECT then it will work perfectly well.