BIS fnc sandstorm: Difference between revisions
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "_{10,} " to "")  | 
				||
| Line 1: | Line 1: | ||
{{Function|Comments=  | {{Function|Comments=  | ||
| arma2oa |Game name=  | | arma2oa |Game name=  | ||
| Line 11: | Line 10: | ||
|gr1 = Environment |GROUP1=  | |gr1 = Environment |GROUP1=  | ||
| Creates particle sandstorm round given object. {{Feature|arma3| '''newspapers''' parameter is disabled in {{arma3}} {{Inline code|if (_newspapers && false)...}}}} |Description=  | | Creates particle sandstorm round given object. {{Feature|arma3| '''newspapers''' parameter is disabled in {{arma3}} {{Inline code|if (_newspapers && false)...}}}} |Description=  | ||
| [object, ''interval'', ''brightness'', ''newspapers''] call [[BIS_fnc_sandstorm]] |SYNTAX=  | | [object, ''interval'', ''brightness'', ''newspapers''] call [[BIS_fnc_sandstorm]] |SYNTAX=  | ||
| Line 27: | Line 24: | ||
| [[Array]] of created particle effect |RETURNVALUE=  | | [[Array]] of created particle effect |RETURNVALUE=  | ||
|x1= <code>[<nowiki/>[[player]], 0.04, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code> |EXAMPLE1=  | |x1= <code>[<nowiki/>[[player]], 0.04, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code> |EXAMPLE1=  | ||
| [[Functions Library]] |SEEALSO=    | | [[Functions Library]] |SEEALSO=    | ||
Revision as of 23:55, 16 January 2021
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 be player)
 - interval (Optional): Number - particle refresh time (default is 0.07) Lower number makes the sandstorm more dense
 - brightness (Optional): Number - brightness coeficient (default is 1) (1 - bright, 0 dark)
 - newspapers (Optional): Boolean - true if flying newspapers will be present (default is true)
 - Return Value:
 - Array of created particle effect
 
Examples
- Example 1:
 [player, 0.04, 0.8, false] call BIS_fnc_sandstorm;
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