- Home /
Question by
programmrzinc · Jan 25, 2012 at 01:24 AM ·
variableloadinglevel
Is there a function for this?
Is there a function for When a Scene is loaded , like if my scene loades, set this varible to one?
Comment
Best Answer
Answer by syclamoth · Jan 25, 2012 at 01:47 AM
Yes.
function OnLevelWasLoaded()
{
thisVariable = 1;
}
And I would really like it if you read through the scripting reference, because in the 22 minutes since you posted that question you could have easily found that just using the search bar.
well, i had a question, and i knew some on this earth had an answer. Thanks though!