BIS fnc flies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - " |s1=[" to " |s1= [")
Line 16: Line 16:
|descr= Spawns flies around position.
|descr= Spawns flies around position.


|s1=[position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]]
|s1= [position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]]


|p1= position: [[Array]] (in format [[position]])
|p1= position: [[Array]] (in format [[position]])

Revision as of 00:11, 13 July 2022

Hover & click on the images for description

Description

Description:
Spawns flies around position.
Execution:
call
Groups:
Environment

Syntax

Syntax:
[position, interval, areaSize] call BIS_fnc_flies
Parameters:
position: Array (in format position)
interval (Optional): Number - particle refresh time (default is 0.1)
areaSize (Optional): Number - area radius (default is 1)
Return Value:
Array - List of particle source objects

Examples

Example 1:
private _flies = [position deadBody, 0.05, 1.5] call BIS_fnc_flies;

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