BIS fnc flies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Environment(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
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=
____________________________________________________________________________________________


| Spawns flies around position. |Description=
| Spawns flies around position. |Description=
____________________________________________________________________________________________


| [position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]] |Syntax=
| [position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]] |Syntax=
Line 25: Line 22:


| [[Array]] - List of particle source objects |RETURNVALUE=
| [[Array]] - List of particle source objects |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>_flies = [<nowiki/>[[position]] deadBody, 0.05, 1.5] [[call]] [[BIS_fnc_flies]];</code> |EXAMPLE1=
|x1= <code>_flies = [<nowiki/>[[position]] deadBody, 0.05, 1.5] [[call]] [[BIS_fnc_flies]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[Functions Library]] |SEEALSO=
| [[Functions Library]] |SEEALSO=

Revision as of 00:15, 17 January 2021

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:
_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

Notes

Bottom Section