Problem on Scenes

Hi,
i just created this main scene which has my
main character (has bounding box,armature,model mesh and the its camera)
and a House which he can enter.

if the player was near the house then it will transfer to another scene which is inside the house, my problem is when he goes out the house…

how can i transfer back the maincharacter on the position that i wanted (on the main scene) :frowning:
i mean if he goes out the house, the door must behind him … anyone who can help me for this one…

This is pretty simple with a little bit of Python. In the globalDict store a last position. Save a new position when you leave the scene and then when you load the scene, set the character back.

You can’t.

The character dies with the scene he lives in. When you switch to new scene you not only get a new scene, you get a new character.

To achieve what you requested, you need to store the characters states in a persistent storage. After state change you need to restore this states to the new character.

This is usually part of a save/load process. This can be done via Python only.

You can find a save/load system in my signature or simply search this forum. This is discussed from time to time. I do not want to explain the details again.

Monster

Can you give me a simple sample blendfile? with 2 scenes. :slight_smile:
i’m using 2.49b, and py code for 2.5 is different to 2.4. am i right? please help me…

@monster, got the idea… i will try it now. Thank You :slight_smile:

try my resources thread -> SaveLoader. It contains an example too. Beside save/load it shows “portals” too.

: O That is what i really need…

Thanks :wink: