Page 1 of 1

My text will not save, the files show up, but it will not

PostPosted: Sat Feb 03, 2007 9:05 pm
by Sgt. Sparky
save...
when I open up te document it is a bunch of weird characters, I know that is the ways GE needs them so it can read them. but when I try to acces the saved text with the game I made it does nothing :( here is the draw actor event for one of the text actors
Code: Select all
if (Set == 1)
{
 Name = text;
 saveVars("Name", "MyNameAndPassword");
}


EDIT: by makslane

PostPosted: Sun Feb 04, 2007 2:01 am
by makslane
If Name and text are strings, use the strcpy function to copy the values:

Code: Select all
strcpy(Name, text);

PostPosted: Sun Feb 04, 2007 2:05 am
by Sgt. Sparky
yeah, I know that much I figured it out. iI had the scrcpy stuff, but it would save but not load, but I fixed it :D
EDIT: you edited my post... :D