View Single Post
  #4  
Old 09-01-2007, 01:41 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Skyld View Post

Quote:
Originally Posted by Stefan
The observer mode has been changed so that scripts get onPlayerLogin / onPlayerLogout / onActionPlayerOnline events when the the player is switched to / from observer mode. That should fix the problem with the treasure map.
Quote:
Originally Posted by Stefan
Players disappear for scripting when they are in observer mode. May be I can add an event when the player switches from observer mode to normal mode again (onSwitchObserverToPlayer) and add a time variable when the player switched to normal mode (player.lastobservermodetime)
Looks like things are already in the works.
uhm..
Quote:
Originally Posted by Stefan
Players disappear for scripting
can we edit the player object then? Like would we be able to.. uhm.

PHP Code:
findplayer(<account>).setlevel2("osl.nw"3030); 
etc.. if they went into observer mode?

Or would it be like the onPlayerLogout() function that you can only access the object for an amount of time?
__________________
Reply With Quote