Quote:
Originally Posted by Skyld
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", 30, 30);
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?