OsSetRegionSunSettings: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Fritigern
No edit summary
imported>Fritigern
No edit summary
Line 13: Line 13:
</source>
</source>
[[Category:OSSL]]
[[Category:OSSL]]
[[Category:OSSL functions without threat level]]

Revision as of 15:17, 8 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.
   }
 }