setFog: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
<h2 style="color:#000066">'''''time'' setFog ''fog | <h2 style="color:#000066">'''''time'' setFog ''fog'''''</h2> | ||
Line 12: | Line 12: | ||
'''time:''' [[Number]] | '''time:''' [[Number]] | ||
'''fog | '''fog:''' [[Number]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Line 20: | Line 20: | ||
'''Description:''' | '''Description:''' | ||
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. | |||
Revision as of 20:13, 4 July 2006
time setFog fog
Operand types:
time: Number
fog: Number
Type of returned value:
Description:
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.
Example:
15 setFog 0.5
MP Note:
Has only local effect, so setFog random 1 results in different fog-levels on each client.