BIS fnc crows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 11: Line 10:


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


| Spawns flock of crows circling the area. |Description=
| Spawns flock of crows circling the area. |Description=
____________________________________________________________________________________________


| [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]] |Syntax=
| [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]] |Syntax=
Line 29: Line 26:


|x1= <code>bis_crows = [BIS_scientist, 20, 8, 20] [[call]] [[BIS_fnc_crows]];</code>|EXAMPLE1=
|x1= <code>bis_crows = [BIS_scientist, 20, 8, 20] [[call]] [[BIS_fnc_crows]];</code>|EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 23:43, 16 January 2021

Hover & click on the images for description

Description

Description:
Spawns flock of crows circling the area.
Execution:
call
Groups:
Environment

Syntax

Syntax:
[position, areaSize, number, height] call BIS_fnc_crows
Parameters:
position: Array (in format position) or Object (object position) or String (marker position)
areaSize (Optional): Number - area radius - default: 50
number (Optional): Number of crows - default: areaSize/5
height (Optional): Number - height in which crows flies - default: 30 + random 10
Return Value:
Array - List of spawned crows

Examples

Example 1:
bis_crows = [BIS_scientist, 20, 8, 20] call BIS_fnc_crows;

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