fogParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
| Returns actual params for fog.  
| Returns actual params for fog.  


You can use this command in combination with [[setFog array]] to sync server fog with clients. |= Description
You can use this command in combination with [[setFog_array]] to sync server fog with clients. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:
[[publicVariable]] "server_fog";
[[publicVariable]] "server_fog";
//client
//client
0 [[setFog]] server_fog;</code> |= EXAMPLE1  
0 [[setFog_array|setFog]] server_fog;</code> |= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setFog array]], [[setFog]], [[fog]], [[fogForecast]] |= SEEALSO  
| [[setFog_array]], [[setFog]], [[fog]], [[fogForecast]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 09:14, 20 September 2013

Hover & click on the images for description

Description

Description:
Returns actual params for fog. You can use this command in combination with setFog_array to sync server fog with clients.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
//server server_fog = fogParams; publicVariable "server_fog"; //client 0 setFog server_fog;

Additional Information

See also:
setFog_arraysetFogfogfogForecast

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