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
+
{|  width="100%" style="border: thin solid black"
 +
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 +
|- valign="top"
 +
|'''Threat Level''' || <Threat Level goes here>
  
'''''Example'''''
+
|- valign="top"
<source lang="lsl">
+
|'''Function Syntax''' || <source lang="lsl">
 +
osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
 +
</source>
 +
|- valign="top"
 +
|'''Example(s)||<source lang="lsl">
 
  default
 
  default
 
  {
 
  {
Line 12: Line 19:
 
  }
 
  }
 
</source>
 
</source>
[[Category:OSSL]]
+
 
 +
|}
 +
 
 +
[[Category:OSSL Functions]]
 
[[Category:OSSL functions without threat level]]
 
[[Category:OSSL functions without threat level]]

Revision as of 11:15, 11 June 2011

OsSetRegionSunSettings
Threat Level <Threat Level goes here>
Function Syntax
osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
Example(s)
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