Page 1 of 1

merging games

PostPosted: Thu Aug 19, 2010 5:06 am
by ESL
If I have 3 different games that I want to merge into one, what is the best way to sequence from one to the next?

Re: merging games

PostPosted: Thu Aug 19, 2010 10:58 am
by Game A Gogo
remember this about merging games:
actors/variable with the same name won't get replaced/created, so have your vital in loaded, then merge in the other games in order you want to keep the var/actor.

To tell you more would require knowing more!

Re: merging games

PostPosted: Thu Aug 19, 2010 10:33 pm
by ESL
I want to make it so that the next game loads after all the actors in the previous game have been destroyed.

Re: merging games

PostPosted: Fri Aug 20, 2010 12:01 am
by Game A Gogo
uh, that's outside the purpose of merging games... use the loadgame("game.dat");

Re: merging games

PostPosted: Fri Aug 20, 2010 12:19 am
by ESL
Is there a command that will recognize that all the actors have been destroyed before it execute the loadgame script

Re: merging games

PostPosted: Fri Aug 20, 2010 12:42 am
by Game A Gogo
you can use this:
Code: Select all
if(ActorCount"Ennemy")==0)LoadGame("SecondLevel.dat");

change Ennemy with the actor you want to trigger the second level when there is no more of it.

Re: merging games

PostPosted: Fri Aug 20, 2010 3:13 am
by ESL
Decent advice and much thanks. The challenge is that all my shooting actors have different names so I need a way to group just the shots without saying destroy All Actors because some of the other actors are scenery.

Re: merging games

PostPosted: Fri Aug 20, 2010 3:40 am
by Game A Gogo
have multiple conditions
like
Code: Select all
if(ActorCount("a")==0&&ActorCount("b")==0)

Re: merging games

PostPosted: Fri Aug 20, 2010 4:34 am
by ESL
Do I insert the code as a CreateActor action?

Re: merging games

PostPosted: Fri Aug 20, 2010 12:15 pm
by Game A Gogo
no, do it whenever you are destroying the actors