Page 1 of 1

Actor persistence?

PostPosted: Tue Mar 09, 2004 6:52 pm
by linux_man007
I know that I had asked about having rooms stay exactly the same as you had left it when you come back, but how about saving an actor in memory, so that it may move from room to room without having to save its contents to a file before the move?

Is this currently possible? If it isn't, then how would it be done?

PostPosted: Wed Mar 10, 2004 12:36 am
by makslane
I didn't understand :roll:

PostPosted: Wed Mar 10, 2004 2:36 am
by jazz_e_bob
For example:

You enter a room.
You move a book from the table onto the bed.
You leave the room.

Later, when you go back into the room, the book should still be on the bed.

I thought GE already did this. :?

PostPosted: Wed Mar 10, 2004 6:02 am
by linux_man007
Sorry, what I really meant was ACTOR PERSISTENCE.
What this means that the PLAYER ACTOR'S CONTENTS ARE STILL IN MEMORY WHEN IT LEAVES THE ROOM, THUS AVOIDING THE PLAYER'S ACTOR FROM BEING DESTROYED WHEN IT MOVES FROM ROOM TO ROOM.

PostPosted: Wed Mar 10, 2004 6:21 am
by jazz_e_bob
Hmmmm :(

What do you mean by "room"?

Image

PostPosted: Wed Mar 10, 2004 2:59 pm
by linux_man007
A room is the same as a level or stage. :)

PostPosted: Wed Mar 10, 2004 8:36 pm
by jazz_e_bob
I imagine you are using the system where you view relocates to different areas on the game map. Each area is a "room".

By default, all actors live all the time unless destroyed, even when they are not currently in view.

The actors persist in memory.

I think part of what you are asking is if the system can "save" rooms not currently in view to file and restore them, when needed, in exactly the same state they were in.

Hmmmm

:idea:

It may be best to post a demo of what you are doing. So hard to describe system/programming concepts with words.... :)

Image