BIS fnc flies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|([0-9]{1}.[0-9]{2})\|\= " to "|$1|Game version= ")
Line 1: Line 1:
{{Function|=
{{Function|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2oa |=
| arma2oa |Game name=


|1.56|Game version=
|1.56|Game version=
Line 8: Line 8:
|arg= |MPARGUMENTS=  
|arg= |MPARGUMENTS=  


|eff= local |= Effects in MP
|eff= local |Effects in MP=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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


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


| [[Array]] - List of particle source objects<br /><br /> |RETURNVALUE=
| [[Array]] - List of particle source objects |RETURNVALUE=
____________________________________________________________________________________________


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


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}



Revision as of 13:07, 3 September 2019

Hover & click on the images for description

Description

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

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