OsSetRegionSunSettings

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
'''Function Syntax:''' osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);<br>'''Returns:''' NULL  
 
'''Function Syntax:''' osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);<br>'''Returns:''' NULL  
  
'''''Example'':&nbsp;'''  
+
'''''Example'''''  
 +
<source lang="lsl">
 
  default
 
  default
 
  {
 
  {
    state_entry( )
+
  state_entry( )
    {
+
  {
            osSetRegionSunSettings( FALSE, TRUE, 12.0 );
+
          osSetRegionSunSettings( FALSE, TRUE, 12.0 );
                //Sets the region/ terrain-tab to non-estate, fixed-sun and at dusk settings.
+
              //Sets the region/ terrain-tab to non-estate, fixed-sun and at dusk settings.
    }
+
  }
 
  }
 
  }
 
+
</source>
 
+
 
+
 
[[Category:OSSL]]
 
[[Category:OSSL]]

Revision as of 17:53, 5 June 2011

Function Syntax: osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
Returns: NULL

Example

default
 {
   state_entry( )
   {
           osSetRegionSunSettings( FALSE, TRUE, 12.0 );
               //Sets the region/ terrain-tab to non-estate, fixed-sun and at dusk settings.
   }
 }
Personal tools
General
About This Wiki