OsSetRegionSunSettings: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Fritigern No edit summary |
imported>Fritigern No edit summary |
||
| Line 1: | Line 1: | ||
''' | {| width="100%" style="border: thin solid black" | ||
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | |||
|- valign="top" | |||
|'''Threat Level''' || <Threat Level goes here> | |||
''''' | |- 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 19: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.
}
}
|