fogParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(link correction)
(format)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns actual params for fog.
| Returns extended params for the fog |= Description
 
You can use this command in combination with [[setFog]] to sync server fog with clients. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''fogParams''' |= Syntax
| '''fogParams''' |= Syntax


| [[Array]] - [fogValue, fogDecay, fogBase] |= RETURNVALUE  
| [[Array]] - in format [[setFog]]: [fogValue, fogDecay, fogBase] |= RETURNVALUE  




|x1= <code>//server
|x1= <code>_fog = [[fogParams]]</code> |= EXAMPLE1  
server_fog = [[fogParams]];
[[publicVariable]] "server_fog";
//client
0 [[setFog]] server_fog;</code> |= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 16:58, 23 March 2016

Hover & click on the images for description

Description

Description:
Returns extended params for the fog
Groups:
Uncategorised

Syntax

Syntax:
fogParams
Return Value:
Array - in format setFog: [fogValue, fogDecay, fogBase]

Examples

Example 1:
_fog = fogParams

Additional Information

See also:
setFogfogfogForecast

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