I personnaly have not idea about the Scene stuff, think it just makes links to object, mesh and materials data.
You could send the speed value your after with a message actuator. Then extract the body of the msg in the other scene. Possibly? But again, even though it is relatively easy to do, it does involve python. :-?
You could send the speed value your after with a message actuator. Then extract the body of the msg in the other scene. Possibly? But again, even though it is relatively easy to do, it does involve python.
Yeah, I started to play with the message actuator. I’ll go back to it if I can’t get global variables to work.
Ok back to the project at hand:
I started a fresh scene. Created everything pretty much as before, but used your code above. Now I’m getting values for speed, px, py and pz on the debug screen in the main scene, good.
Yeah, I think we are close, but not there yet…
Now I want that value to go to Scene #2. I created a new empty scene. Added a camera and text-plane and set it to “float”. I also added a “property” actuator to the text-plane. I think this is my next problem.
import GameLogic as g
c = g.getCurrentController()
o = c.getOwner()
o.Text = g.speed
Where o.Text should put the value straight into the TextPlanes String/Float value. This Hopefully should work. Please check the values in any debug instance. If its purely not displaying on the plane as Text, that could be other problems.
Please say yes it works!, my fingers are hurting now man.
Please ignore the lame graphics, this is just a working prototype to see if GE will do what I need it to do… and so far it sure looks like it’s working to me!