Long lines in the script editor window crash GE. I sometimes have long code lines with long comments and a crash without save sucks hard.
See the example attached to witness the crash.
ChangeTransparency("Event Actor", 0.300000);
ChangeTransparency("Event Actor",
0.300000);
/*
Comment 1
Comment 2
*/
//add more characters to line 6 in the comments
if(doonce == 1 && no_of_fails < 20)
{
strcpy(text, "FAIL");
CreateActor("world", "icon", "(none)", "(none)", 20 + rand(20) , 20 + rand(20), false); // blah blah blah blah now keep adding characters to the end of this line until it crashes into oblivion come on now
no_of_fails += 1;
doonce = 0;
}
Users browsing this forum: No registered users and 1 guest