fogParams: Difference between revisions
Jump to navigation
Jump to search
m (categories) |
Killzone Kid (talk | contribs) (link correction) |
||
Line 9: | Line 9: | ||
| Returns actual params for fog. | | Returns actual params for fog. | ||
You can use this command in combination with [[ | You can use this command in combination with [[setFog]] to sync server fog with clients. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 21: | ||
[[publicVariable]] "server_fog"; | [[publicVariable]] "server_fog"; | ||
//client | //client | ||
0 [[ | 0 [[setFog]] server_fog;</code> |= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[setFog]], [[fog]], [[fogForecast]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 15:52, 23 March 2016
Description
- Description:
- Returns actual params for fog. You can use this command in combination with setFog 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:
- 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