BIS fnc sandstorm: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|1.56 | |version1= 1.56 | ||
|game2= tkoh | |game2= tkoh | ||
Line 10: | Line 10: | ||
|version3= 0.50 | |version3= 0.50 | ||
|arg= | |arg= global | ||
|eff= local | |eff= local | ||
Line 16: | Line 16: | ||
|gr1= Environment | |gr1= Environment | ||
| Creates particle sandstorm round given object. {{Feature|arma3| | |descr= Creates particle sandstorm round given object. {{Feature|arma3|The ''newspapers'' parameter is disabled in {{arma3}}.}} | ||
|s1=[object, | |s1= [object, interval, brightness, newspapers] call [[BIS_fnc_sandstorm]] | ||
|p1= position: [[Object]] - sandstorm center (should be [[player]]) | |p1= position: [[Object]] - sandstorm center (should usually be [[player]]) | ||
|p2= interval | |p2= interval: [[Number]] - (Optional, default 0.07) particle refresh time; a lower number makes the sandstorm more dense | ||
|p3= brightness | |p3= brightness: [[Number]] - (Optional, default 1) brightness coeficient; 1 is bright, 0 is dark | ||
|p4= newspapers | |p4= newspapers: [[Boolean]] - (Optional, default [[true]]) [[true]] if flying newspapers should be present | ||
|r1=[[Array]] of created particle effect | |r1= [[Array]] of created particle effect | ||
|x1= < | |x1= <sqf>[player, 0.04, 0.8, false] call BIS_fnc_sandstorm;</sqf> | ||
|seealso= [[Functions Library]] | |seealso= [[Functions Library]] | ||
}} | }} | ||
Latest revision as of 16:55, 25 July 2022
Description
- Description:
- Creates particle sandstorm round given object.
- Execution:
- call
- Groups:
- Environment
Syntax
- Syntax:
- [object, interval, brightness, newspapers] call BIS_fnc_sandstorm
- Parameters:
- position: Object - sandstorm center (should usually be player)
- interval: Number - (Optional, default 0.07) particle refresh time; a lower number makes the sandstorm more dense
- brightness: Number - (Optional, default 1) brightness coeficient; 1 is bright, 0 is dark
- newspapers: Boolean - (Optional, default true) true if flying newspapers should be present
- Return Value:
- Array of created particle effect
Examples
- Example 1:
Additional Information
- See also:
- Functions Library
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