BIS fnc crows: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add default values) |
m (template:command argument fix) |
||
Line 6: | Line 6: | ||
|1.56|= | |1.56|= | ||
|arg= |= | |arg= |MPARGUMENTS= | ||
|eff= local |= Effects in MP | |eff= local |= Effects in MP | ||
Line 16: | Line 16: | ||
| [position,''areaSize'',''number'',''height''] call '''BIS_fnc_crows''' |= | | [position,''areaSize'',''number'',''height''] call '''BIS_fnc_crows''' |= | ||
|p1= position: [[Array]] (in format [[position]]) or [[Object]] (object position) or [[String]] (marker position) |= | |p1= position: [[Array]] (in format [[position]]) or [[Object]] (object position) or [[String]] (marker position) |PARAMETER1= | ||
|p2= areaSize ''(Optional)'': [[Number]] - area radius - default: 50 |= | |p2= areaSize ''(Optional)'': [[Number]] - area radius - default: 50 |PARAMETER2= | ||
|p3= number ''(Optional)'': [[Number]] of crows - default: areaSize/5 |= | |p3= number ''(Optional)'': [[Number]] of crows - default: areaSize/5 |PARAMETER3= | ||
|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 |PARAMETER4= | ||
| [[Array]] - List of spawned crows<br /><br /> |= | | [[Array]] - List of spawned crows<br /><br /> |RETURNVALUE= | ||
|x1= <code>bis_crows = [BIS_scientist, 20, 8, 20] [[call]] [[BIS_fnc_crows]];</code>|= | |x1= <code>bis_crows = [BIS_scientist, 20, 8, 20] [[call]] [[BIS_fnc_crows]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Functions Library]] |= | | [[Functions Library]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
Description
- Description:
- Spawns flock of crows circling the area.
- Execution:
- call
- Groups:
- Uncategorised
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