setOvercast: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETOVERCAST]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETOVERCAST]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETOVERCAST]]
[[Category:Scripting Commands ArmA|SETOVERCAST]]


| ofp |= Game name


<h2 style="color:#000066">'''''time'' setOvercast ''overcast'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Set overcast to given value smoothly during given time (in seconds).
Zero time means immediate change.
Zero overcast means clear (sunny) weather, with overcast 1 storms and rain are very likely. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| time '''setOvercast''' overcast |= Syntax


'''time:''' [[Number]]
|p1= time: [[Number]] |= Parameter 1


'''overcast:''' [[Number]]
|p2= overcast: [[Number]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>50 setOvercast 0.5</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Set '''overcast''' to given value smoothly during given '''time''' (in seconds).<br>
<h3 style="display:none">Notes</h3>
Zero time means immediate change.<br>
<dl class="command_description">
Zero overcast means clear (sunny) weather, with overcast 1 storms and rain are very likely.
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
Old Notes (temporary):
50 '''setOvercast''' 0.5
 
 
'''Comments:'''


Use [[setRain]] if you want to make sure it rains.
Use [[setRain]] if you want to make sure it rains.
[[Category:Scripting Commands|SETOVERCAST]]
[[Category:Scripting Commands OFP 1.96|SETOVERCAST]]
[[Category:Scripting Commands OFP 1.46|SETOVERCAST]]
[[Category:Scripting Commands ArmA|SETOVERCAST]]

Revision as of 00:25, 2 August 2006

Hover & click on the images for description

Description

Description:
Set overcast to given value smoothly during given time (in seconds). Zero time means immediate change. Zero overcast means clear (sunny) weather, with overcast 1 storms and rain are very likely.
Groups:
Uncategorised

Syntax

Syntax:
time setOvercast overcast
Parameters:
time: Number
overcast: Number
Return Value:
Nothing

Examples

Example 1:
50 setOvercast 0.5

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Old Notes (temporary):

Use setRain if you want to make sure it rains.