BIS fnc sandstorm: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
Line 30: Line 30:
|r1= [[Array]] of created particle effect
|r1= [[Array]] of created particle effect


|x1= <code>[player, 0.04, 0.8, [[false]]] [[call]] [[BIS_fnc_sandstorm]];</code>
|x1= <code>[player, 0.04, 0.8, false] [[call]] [[BIS_fnc_sandstorm]];</code>


|seealso= [[Functions Library]]
|seealso= [[Functions Library]]
}}
}}

Revision as of 16:56, 13 July 2022

Hover & click on the images for description

Description

Description:
Creates particle sandstorm round given object.
Arma 3
The newspapers parameter is disabled in Arma 3 if (_newspapers && false)....
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:
[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