BIS fnc flies: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2") |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|1.56 | |version1= 1.56 | ||
|game2= tkoh | |game2= tkoh | ||
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]]) | ||
Line 24: | Line 24: | ||
|p3= areaSize ''(Optional)'': [[Number]] - area radius (default is 1) | |p3= areaSize ''(Optional)'': [[Number]] - area radius (default is 1) | ||
|r1= [[Array]] - | |r1= [[Array]] - list of particle source objects | ||
|x1= < | |x1= <sqf>private _flies = [position deadBody, 0.05, 1.5] call BIS_fnc_flies;</sqf> | ||
|seealso= [[Functions Library]] | |seealso= [[Functions Library]] | ||
}} | }} | ||
Latest revision as of 15:38, 8 November 2023
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:
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