Thread: player.zoom
View Single Post
  #13  
Old 07-10-2009, 03:59 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by DustyPorViva View Post
Also, onCreated() is not reliable in gani scripts, as with Angel's script shows you should be using onPlayerEnters() instead.

Well, you can still use onCreated() but you'll just need a blank onPlayerEnters() in the script to make sure the script is always executed since the onPlayerEnters() works like a "wake-up call." I suppose it would make more sense to just use onPlayerEnters() instead to save the hassle but the onCreated() can still be reliable as long as you have an onPlayerEnters() as well.
Reply With Quote