Jump to content

llGetTimeOfDay and EEP


Extrude Ragu
 Share

You are about to reply to a thread that has been inactive for 1379 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Rider Linden has a thread in the EEP forum which outlines the LSL hooks. According to that, llGetTimeOfDay should be EEP aware.

Quote

llGetTimeOfDay/llGetRegionTimeOfDay

 
Nov 08, 2018
 

Gets the number of seconds, with sub-second precision, since environmental midnight.  llGetTimeOfDay returns this value for the current parcel, llGetRegionTimeOfDay returns the seconds since midnight for the entire region.

Function

float llGetTimeOfDay()
float llGetRegionTimeOfDay( )

 

Caveats

This function previously assumed a 4 hour day.  Day length is now configurable for regions and parcels.

 

Link to comment
Share on other sites

Take good look at the scripting example in the wiki section that Fenix just mentioned.  It's lovely and simple.  I've played with it quite a bit recently, as Qie and others have too.  The new EEP controls allow us to mess with the length of the day and also offer a much better way to decide when to toggle streetlights on and off.  It's all quite fun.  Remember, of course, that individual SL residents can always choose to override the shared environment settings -- that is, they can ignore EEP settings and just set their personal view to Midday or whatever.  

  • Like 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1379 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...