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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.56


|1.56|Game version=
|game2= tkoh
|version2= 1.00


|arg= |MPARGUMENTS=  
|game3= arma3
|version3= 0.50


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


|gr1 = Environment |GROUP1=
|gr1= Environment
____________________________________________________________________________________________


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


| [position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]] |Syntax=
|s1= [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=
|r1= [[Array]] - list of particle source objects
____________________________________________________________________________________________


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


| [[Functions Library]] |SEEALSO=
|seealso= [[Functions Library]]
 
|  |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Functions|{{uc:flies}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:flies}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:flies}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:flies}}]]

Latest revision as of 15:38, 8 November 2023

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