Page 2 of 2

Re: whats the script editor code for saving

PostPosted: Tue Jul 13, 2010 2:22 pm
by jimmynewguy
savvy wrote:really stupidly complicated

savvy wrote:i merely said it was a bit complicated

I guess in not knowing savvy i assumed he was one of those newbies that do that kind of thing and i get tired of it. But its whatever now, in the past.

Re: whats the script editor code for saving

PostPosted: Tue Jul 13, 2010 5:13 pm
by Hblade
Yeah :o There will be arguments and dissagreements in life thats for sure :3

But they all get solved ^.^

Re: whats the script editor code for saving

PostPosted: Thu Jul 15, 2010 9:18 am
by savvy
yeah, im not rying to put you down at all :)

Re: whats the script editor code for saving

PostPosted: Fri Jul 16, 2010 5:32 am
by pizbi
thank you thank you :) everybody

Re: whats the script editor code for saving

PostPosted: Fri Jul 16, 2010 5:54 am
by pizbi
Bee-Ant wrote:1. Make at least 2 variables, PosX and PosY to determine the player X and Y position. If you don't know how to make variables, go to Script Editor or Global code, I have posted the picture of how to add it bellow. Save both of them in a group called "data".

4. Next time, when you load the game, and want to continue your checkpoint location
view->CreateActor->ScriptEditor :
Code: Select all
loadVars("YourDataFileName.dat", "data"); //load your saved data from file
YourPlayerName.x=PosX;
YourPlayerName.y=PosY;
view.x=PosX-320;
view.y=PosY-240;

Hope helps :D


OMG :O I never knew everything you save in game on GE went to its own dat file :) thats coolio!

Re: whats the script editor code for saving

PostPosted: Sat Jul 17, 2010 8:57 am
by savvy
Hey guys, u notice pizbi hasnt even come back to this after all weve done.

Re: whats the script editor code for saving

PostPosted: Sat Jul 17, 2010 9:48 am
by Hblade
You can even save exe's lol, or heck, even a fake .ged :P

Re: whats the script editor code for saving

PostPosted: Sat Jul 17, 2010 5:35 pm
by Bee-Ant
savvy wrote:Hey guys, u notice pizbi hasnt even come back to this after all weve done.

I don't mind...I just wanted to help.
I wasn't intended for him to come back asap and say "oh many thanks, you're so cool, I owe you..." :P

Re: whats the script editor code for saving

PostPosted: Sun Jul 18, 2010 6:35 pm
by krenisis
Bee-ant can you copy and paste your same code and open a topic. Please label the topic ...Step by Step how to save/load a game...Then I will notify Makslane so he can include the tutorial in the new Tutorial section. Thanks Bee-ant !!

Re: whats the script editor code for saving

PostPosted: Sun Jul 18, 2010 6:55 pm
by Bee-Ant
krenisis wrote:Bee-ant can you copy and paste your same code and open a topic. Please label the topic ...Step by Step how to save/load a game...Then I will notify Makslane so he can include the tutorial in the new Tutorial section. Thanks Bee-ant !!

I'm not really a good tutor...well, I will try

Re: whats the script editor code for saving

PostPosted: Wed Sep 08, 2010 9:02 pm
by zxcvbnm
Bumping upon newbie help request.