BIS fnc setFog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
|arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Environment | |gr1= Environment | ||
Line 9: | Line 8: | ||
|serverExec= server | |serverExec= server | ||
|Instantly set weather conditions and share it across network. | |descr= Instantly set weather conditions and share it across network. | ||
|[strenght, density, altitude] call | |s1= [strenght, density, altitude] call [[BIS_fnc_setFog]] | ||
|p1= strength: [[Number]] - | |p1= strength: [[Number]] - fog strenght from 0 to 1 | ||
|p2= density: [[Number]] - | |p2= density: [[Number]] - fog density from 0 to 1 | ||
|p3= altitude: [[Number]] - | |p3= altitude: [[Number]] - fog base altitude in metres. | ||
|r1= [[Array]] - | |r1= [[Array]] - array with set values | ||
|x1= <code>[1,1,100] [[call]] | |x1= <code>[1,1,100] [[call]] [[BIS_fnc_setFog]]; {{cc|returns [1,1,100]}}</code> | ||
|seealso= [[setFog]] [[fog]] | |seealso= [[setFog]] [[fog]] | ||
}} | }} | ||
Revision as of 17:28, 10 June 2021
Description
- Description:
- Instantly set weather conditions and share it across network.
- Execution:
- call
- Groups:
- Environment
Syntax
- Syntax:
- [strenght, density, altitude] call BIS_fnc_setFog
- Parameters:
- strength: Number - fog strenght from 0 to 1
- density: Number - fog density from 0 to 1
- altitude: Number - fog base altitude in metres.
- Return Value:
- Array - array with set values
Examples
- Example 1:
[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]
Additional Information
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