Passing variable between scene?

Reading about the actuators it says: Copy

http://download.blender.org/documentation/NaN_docs/BlenderGameReference/images/PropertyActuator_Copy.png

This copies a Property (here “Prop: SProp”) from the Object with the name given in “OB: Sphere” into the Property “Prop: Proppy”. This is an easy and safe way to pass information between objects. You cannot pass information between scenes with this Actuator!

You cannot pass information between scenes

At the risk of having things hurled my way (I’m hearing: awg, blah, go away), what is a scene as the term is used here?

A level in a game, and if so, then how do you pass those needed vars to the next scene?

Thank you, thank you very much.

Here is a way with python:

You can add any variable including object references to GameLogic like this:

GameLogic.prop = own.prop

and then you can retrieve it in the usual way from another script:

own.anotherprop = GameLogic.prop

Thanks Monster :slight_smile:

I know that maybe basic, but I was looking for a way to pass variables from one object to another.

Monster:
OK, got it. So a scene is a level, and you cant use that logic block to pass vars to the next level.

Thanks for the code snipit, havent got into python scripting yet. Its on the todo list though.

Oh, I wish I was younger.

Darktatami:

I know that maybe basic, but I was looking for a way to pass variables from one object to another.

Did you read this page:

http://download.blender.org/documentation/NaN_docs/BlenderGameReference/actuators.html

It explains that and a lot more.

Not yet, but it is on the list of things I need to go through. So much to learn :). But I’ll bump it up on the list.