BIS fnc crows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(6 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 14: Line 14:
|gr1= Environment
|gr1= Environment


| Spawns flock of crows circling the area.
|descr= Spawns flock of crows circling the area.


|s1= [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]]
|s1= [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]]
Line 26: Line 26:
|p4= height ''(Optional)'': [[Number]] - height in which crows flies - default: 30 + random 10
|p4= height ''(Optional)'': [[Number]] - height in which crows flies - default: 30 + random 10


|r1=[[Array]] - List of spawned crows<br><br>
|r1= [[Array]] - list of spawned crows<br><br>


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


|seealso= [[Functions Library]]
|seealso= [[Functions Library]]
}}
}}
[[Category:{{Name|arma2oa}}: Functions|{{uc:crows}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:crows}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:crows}}]]

Latest revision as of 15:38, 8 November 2023

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