BIS fnc flies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma2oa |Game name=
| arma2oa


|1.56|Game version=
|1.56


|arg= |MPARGUMENTS=  
|arg= |MPARGUMENTS=  
Line 9: Line 9:
|eff= local |Effects in MP=
|eff= local |Effects in MP=


|gr1 = Environment |GROUP1=
|gr1 = Environment


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


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


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


|p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.1) |PARAMETER2=
|p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.1)


|p3= areaSize ''(Optional)'': [[Number]] - area radius (default is 1) |PARAMETER3=
|p3= areaSize ''(Optional)'': [[Number]] - area radius (default is 1)


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


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


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


|  |MPBEHAVIOUR=
|  |MPBEHAVIOUR=

Revision as of 23:02, 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