setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (clarification)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Changes the fog smoothly during the given time (in seconds). A time of zero means there will be an immediate change. A fog level of zero is minimum fog and a fog level of one is maximum fog. |= Description
| Changes the fog smoothly over the the given TransitionTime (in seconds). A time of zero means there will be an immediate change. A fog intensity of zero is minimum fog and a fog level of one is maximum fog. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| time '''setFog''' fog |= Syntax
| TransitionTime '''setFog''' intensity |= Syntax


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


|p2= fog: [[Number]] |= Parameter 2
|p2= intensity : [[Number]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 00:14, 31 August 2007

Hover & click on the images for description

Description

Description:
Changes the fog smoothly over the the given TransitionTime (in seconds). A time of zero means there will be an immediate change. A fog intensity of zero is minimum fog and a fog level of one is maximum fog.
Groups:
Uncategorised

Syntax

Syntax:
TransitionTime setFog intensity
Parameters:
TransitionTime : Number
intensity : Number
Return Value:
Nothing

Examples

Example 1:
15 setFog 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

Ceeeb
Only one script command induced weather change (either setOvercast or setFog) can be happening at a time. Starting a new weather change will immediately halt the current weather change. SetRain changes are independent and can occur simultaneously to a weather change.

Bottom Section