BIS fnc flies: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma2oa | | arma2oa | ||
|1.56 | |1.56 | ||
|arg= |MPARGUMENTS= | |arg= |MPARGUMENTS= | ||
Line 9: | Line 9: | ||
|eff= local |Effects in MP= | |eff= local |Effects in MP= | ||
|gr1 = Environment | |gr1 = Environment | ||
| Spawns flies around position. | | Spawns flies around position. | ||
| [position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]] | | [position, ''interval'', ''areaSize''] call [[BIS_fnc_flies]] | ||
|p1= position: [[Array]] (in format [[position]]) | |p1= position: [[Array]] (in format [[position]]) | ||
|p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.1) | |p2= interval ''(Optional)'': [[Number]] - particle refresh time (default is 0.1) | ||
|p3= areaSize ''(Optional)'': [[Number]] - area radius (default is 1) | |p3= areaSize ''(Optional)'': [[Number]] - area radius (default is 1) | ||
| [[Array]] - List of particle source objects | | [[Array]] - List of particle source objects | ||
|x1= <code>_flies = [<nowiki/>[[position]] deadBody, 0.05, 1.5] [[call]] [[BIS_fnc_flies]];</code> | |x1= <code>_flies = [<nowiki/>[[position]] deadBody, 0.05, 1.5] [[call]] [[BIS_fnc_flies]];</code> | ||
| [[Functions Library]] | | [[Functions Library]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 23:02, 17 January 2021
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