Page 2 of 3
Re: Help with script

Posted:
Sun Feb 20, 2011 6:56 pm
by schnellboot
then you have to do this
if (yourVariable==1)
{
loadGame blabla;
}
yourVariable is the variable saved in level
Re: Help with script

Posted:
Sun Feb 20, 2011 7:01 pm
by Behdadsoft
This is the same as the previous script.

Re: Help with script

Posted:
Sun Feb 20, 2011 7:05 pm
by schnellboot
would you like to pm me the ged's?
Re: Help with script

Posted:
Sun Feb 20, 2011 7:42 pm
by Behdadsoft
I made a sample for you.
Re: Help with script

Posted:
Sun Feb 20, 2011 7:48 pm
by schnellboot
you try to load game.dat but it should be game.ged
Re: Help with script

Posted:
Sun Feb 20, 2011 7:55 pm
by Behdadsoft
When I'm out of the game format .dat is saved and I do not want to provide all of the source game.
Re: Help with script

Posted:
Sun Feb 20, 2011 8:01 pm
by schnellboot
doesnt matter you have to use ged
Re: Help with script

Posted:
Sun Feb 20, 2011 8:09 pm
by Behdadsoft
This is very bad.

Re: Help with script

Posted:
Sun Feb 20, 2011 8:13 pm
by schnellboot
what I mean is
load .ged loads exported exe or dat file
Re: Help with script

Posted:
Sun Feb 20, 2011 8:23 pm
by Behdadsoft
Can you explain more?
Re: Help with script

Posted:
Mon Feb 21, 2011 4:01 pm
by Behdadsoft
Hi.
this example you can say that what you show me.
THANKS A LOT
Re: Help with script

Posted:
Mon Feb 21, 2011 4:08 pm
by schnellboot
- Code: Select all
LoadGame("sample game.dat");
should be
- Code: Select all
LoadGame("sample game.ged");
but anyway you're welcome !
Re: Help with script

Posted:
Mon Feb 21, 2011 4:22 pm
by Behdadsoft
Thank you
Last night I was a little sleepy mean catch. But this morning I thought again that I realized that was what you mean.
I'm just asking you, and it is that if possible with examples how to save and load a stage to show me.
THANKS A LOT.
Re: Help with script

Posted:
Mon Feb 21, 2011 4:51 pm
by schnellboot
hm do you need to save
the positions of all enemies and the player or what?
Re: Help with script

Posted:
Mon Feb 21, 2011 5:20 pm
by Behdadsoft
I would like for any reason after the game was out and wanted to get back into the game from the very beginning stages that have been out of it.
Of course I use the load button is placed in me to do it.