Page 1 of 1

How can I load a level using LoadGame()?

PostPosted: Sun Nov 19, 2006 6:18 pm
by laddsa
Hi, I have an actor in a Ged file that has a mousebutton down event to use the LoadGame() function to load a dat file with an actor.

So, when I create the .exe from this Ged and run it, then click on the actor then it loads the .dat file, and displays the new actor but it overwrites the original actor!

How can I load the actor from a .dat file into a main file without overwriting the main file's actors?

Many thanks,

Laddsa

PostPosted: Sun Nov 19, 2006 7:31 pm
by makslane
The LoadGame function don't merge the games.
So, after use the LoadGame, the new game will replace the old game.
If you need an actor in both levels, you need to put the actor in both ged files.

PostPosted: Sun Nov 19, 2006 8:37 pm
by laddsa
ok, thanks.