BIS fnc crows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2oa
____________________________________________________________________________________________
|version1= 1.56


| arma2oa |= Game name
|game2= tkoh
|version2= 1.00


|1.00|= Game version
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| <pre>
|eff= local
/*


Description:
|gr1= Environment
Spawns flock of crows circling the area.


Parameter(s):
|descr= Spawns flock of crows circling the area.
_this select 0: ARRAY - Position of flock
_this select 1 (Optional): NUMBER - area size
_this select 2 (Optional): NUMBER - number of crows


Returns:
|s1= [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]]
ARRAY - list of all spawned crows
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_crows]]; --> |= Syntax
|p1= position: [[Array]] (in format [[position]]) or [[Object]] (object position) or [[String]] (marker position)


|p1= |= Parameter 1
|p2= areaSize ''(Optional)'': [[Number]] - area radius - default: 50


| |= Return value
|p3= number ''(Optional)'': [[Number]] of crows - default: areaSize/5
____________________________________________________________________________________________


|x1= <code></code> |=
|p4= height ''(Optional)'': [[Number]] - height in which crows flies - default: 30 + random 10
____________________________________________________________________________________________


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


|x1= <sqf>bis_crows = [BIS_scientist, 20, 8, 20] call BIS_fnc_crows;</sqf>
|seealso= [[Functions Library]]
}}
}}
<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:Function Group: Environment|{{uc:crows}}]]
[[Category:Functions|{{uc:crows}}]]
[[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