OsSetRegionSunSettings

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(usage syntax added)
 
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 Required !<br>
+
'''''Example'':&nbsp;'''
 +
<pre>default
 +
 
 +
{
 +
 
 +
    state_entry( )
 +
 
 +
    {
 +
 
 +
            osSetRegionSunSettings( FALSE, TRUE, 12.0 );
 +
 
 +
                //Sets the region/ terrain-tab to non-estate, fixed-sun and at dusk settings.
 +
 
 +
    }
 +
 
 +
}</pre>

Revision as of 07:11, 11 November 2010

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