|
Zante Zapedzki
We need html on a prim!
Join date: 15 Feb 2007
Posts: 123
|
05-29-2007 05:31
I'm having trouble detecting the time of day a client has chosen to view the world in.
I have lights that supposedly turn on and off depending on the time of day it is yet if I were to change my client settings to night nothing would register with the lights. Is there a way to present the state of an object differently for each user depending on the time of day he/she is viewing the world in?
|
|
Jeff Kelley
Registered User
Join date: 8 Nov 2006
Posts: 223
|
05-29-2007 06:17
You can't. The simulator has no idea of the client time-of-day override setting.
|
|
Zante Zapedzki
We need html on a prim!
Join date: 15 Feb 2007
Posts: 123
|
05-29-2007 06:45
I want control over how people see my content. If that means a particle-based diffuse glow around my lights at night, 'subjective' or not, I'd expect there to be a way of doing it.
Is there really no way?
No improvisation anyone can think of?
|
|
Whispering Hush
™
Join date: 20 Mar 2007
Posts: 277
|
05-29-2007 07:48
http://rpgstats.com/wiki/index.php?title=TimeFunctions Function Description llGetAndResetTime Gets time since script reset or time last reset--and resets time to 0. llGetDate Gets date. llGetGMTclock Gets time in seconds since midnight in GMT. Use llGetWallclock for PST. llGetRegionTimeDilation Gets region time dilation llGetSunDirection Gets current sim sun direction. llGetTime Gets time since script reset or time last reset. llGetTimeOfDay Gets time of sim day. etc etc etc Gets a timestamp with current date and exact time (real-world). llGetWallclock Gets time in seconds since midnight in simulator server's time zone. Use llGetGMTclock for GMT. llGetUnixTime Gets the UNIX timestamp. llResetTime Resets script time to zero. llSetTimerEvent Sets timer event (see below).
|
|
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
|
05-29-2007 08:48
If the users uses the World -> Force Sun menu, there is no way to determine which setting they selected. Even if there was, you could not change the appearance of your object for that specific person only.
|