Quote:
Originally Posted by cyan3
I know it was used in GS1 but somebody told me a while back that it works in GS2 if it's called under a function.
|
Well I believe that would be useless to put in there, because I assume you want to be called when you do both onCreated and onPlayerEnters.
If you need it to update/do script every time you enter a level you can get away with only using onPlayerEnters(), if it's only a one time thing use onCreated().
Anyway the whole reason onPlayerEnters() exists is so you don't have to use "if (playerenters)" ever again.