BIS fnc crows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<br />" to "<br>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.56


|1.56|Game version=
|game2= tkoh
|version2= 1.00


|arg= |MPARGUMENTS=
|game3= arma3
|version3= 0.50


|eff= local |Effects in MP=
|eff= local
____________________________________________________________________________________________


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


| [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]] |Syntax=
|descr= Spawns flock of crows circling the area.


|p1= position: [[Array]] (in format [[position]]) or [[Object]] (object position) or [[String]] (marker position) |PARAMETER1=
|s1= [position, ''areaSize'', ''number'', ''height''] call [[BIS_fnc_crows]]


|p2= areaSize ''(Optional)'': [[Number]] - area radius - default: 50 |PARAMETER2=
|p1= position: [[Array]] (in format [[position]]) or [[Object]] (object position) or [[String]] (marker position)


|p3= number ''(Optional)'': [[Number]] of crows - default: areaSize/5 |PARAMETER3=
|p2= areaSize ''(Optional)'': [[Number]] - area radius - default: 50


|p4= height ''(Optional)'': [[Number]] - height in which crows flies - default: 30 + random 10 |PARAMETER4=
|p3= number ''(Optional)'': [[Number]] of crows - default: areaSize/5


| [[Array]] - List of spawned crows<br><br> |RETURNVALUE=
|p4= height ''(Optional)'': [[Number]] - height in which crows flies - default: 30 + random 10


|x1= <code>bis_crows = [BIS_scientist, 20, 8, 20] [[call]] [[BIS_fnc_crows]];</code>|EXAMPLE1=
|r1= [[Array]] - list of spawned crows<br><br>
____________________________________________________________________________________________


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


| |MPBEHAVIOUR=
|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