View Single Post
  #7  
Old 08-26-2009, 03:09 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by cyan3 View Post
Wouldn't that not work if it's called under another function?
I don't understand your question. the action onPlayerEnters is called every time a player enters a level.
Quote:
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.
I haven't done a whole lot of work lately so I can't say this for sure but onCreated() may not always be called when a player enters if they have entered previously (instances of a class maybe?)
Reply With Quote