by EvanBlack » Thu Oct 06, 2011 6:13 am
Ok thanks. Yeah, I just, again, worked around it by putting all my code into one script section and separate it with comments. It works and is probably for the best even though it wasn't as nice as having it separated.
I don't know whats causing it but it keeps happening and it seems to be linked to declaring functions.
This is how I keep breaking it:
Have function prototype declared, function defined in same script, using function on actor. If I remove a variable from the defined function without changing the prototype and am using it on a actor then it removes the whole script section. I think I hit game mode too.
Example:
Script Section:
void function( int var1, int var2, int var3);
void function( int var1, int var2)
{
do stuff...
}
-------------------------------------
Actor:
function (var1, var2, var3);
----------------------------------------
(\__/) ( Soon... The world)
(O.o )< will be mine!____)
(> < ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bunny Overlord 2012!