Help with script

Talk about making games.

Re: Help with script

Postby schnellboot » Sun Feb 20, 2011 6:56 pm

then you have to do this
if (yourVariable==1)
{
loadGame blabla;
}

yourVariable is the variable saved in level
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Sun Feb 20, 2011 7:01 pm

This is the same as the previous script. :?
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby schnellboot » Sun Feb 20, 2011 7:05 pm

would you like to pm me the ged's?
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Sun Feb 20, 2011 7:42 pm

I made a sample for you.
Attachments
Sample.rar
(39.68 KiB) Downloaded 84 times
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby schnellboot » Sun Feb 20, 2011 7:48 pm

you try to load game.dat but it should be game.ged
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Sun Feb 20, 2011 7:55 pm

When I'm out of the game format .dat is saved and I do not want to provide all of the source game.
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby schnellboot » Sun Feb 20, 2011 8:01 pm

doesnt matter you have to use ged
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Sun Feb 20, 2011 8:09 pm

This is very bad. :?
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby schnellboot » Sun Feb 20, 2011 8:13 pm

what I mean is
load .ged loads exported exe or dat file
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Sun Feb 20, 2011 8:23 pm

Can you explain more?
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby Behdadsoft » Mon Feb 21, 2011 4:01 pm

Hi.
this example you can say that what you show me.

THANKS A LOT
Attachments
Tutorials.rar
(42.48 KiB) Downloaded 82 times
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby schnellboot » Mon Feb 21, 2011 4:08 pm

Code: Select all
LoadGame("sample game.dat");

should be
Code: Select all
LoadGame("sample game.ged");

but anyway you're welcome !
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Mon Feb 21, 2011 4:22 pm

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. :D

THANKS A LOT.
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

Re: Help with script

Postby schnellboot » Mon Feb 21, 2011 4:51 pm

hm do you need to save
the positions of all enemies and the player or what?
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Help with script

Postby Behdadsoft » Mon Feb 21, 2011 5:20 pm

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.
There is no possible way, if we found will make a way.

http://behdadsoft.com/
*******************************************************************
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0
User avatar
Behdadsoft
 
Posts: 207
Joined: Wed Dec 16, 2009 9:19 pm
Score: 2 Give a positive score

PreviousNext

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest