BIS fnc fireSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (page filling)
m (typos)
Line 12: Line 12:
| [arty,target,mag,radius,rounds,delay,conditionEnd,safezone] call [[BIS_fnc_fireSupport]] |= Syntax
| [arty,target,mag,radius,rounds,delay,conditionEnd,safezone] call [[BIS_fnc_fireSupport]] |= Syntax


|p1= ary: [[Object]] - Artillery unit.|= Parameter 1
|p1= arty: [[Object]] - Artillery unit.|= Parameter 1


|p2= pos: [[Position]] or [[Object]] or [[Marker]] - Target position|= Parameter 2
|p2= pos: [[Position]] or [[Object]] or [[Marker]] - Target position|= Parameter 2
Line 20: Line 20:
|p4= radius: [[Number]] - Radius of target area in meters|= Parameter 4
|p4= radius: [[Number]] - Radius of target area in meters|= Parameter 4


|p5= rouds: [[Number]] - Number of rounds to be fired|= Parameter 5
|p5= rounds: [[Number]] - Number of rounds to be fired|= Parameter 5


|p6= delay: [[Array]] or [[Number]] - Delay between rounds.
|p6= delay: [[Array]] or [[Number]] - Delay between rounds.
*[[Array]]
*[[Array]]
**1: min delay
**1: Min delay
**2: max delay
**2: Max delay
*[[Number]] - Precise delay|= Parameter 6
*[[Number]] - Precise delay|= Parameter 6



Revision as of 18:18, 27 May 2018

Hover & click on the images for description

Description

Description:
Mortar/artillery fire support.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[arty,target,mag,radius,rounds,delay,conditionEnd,safezone] call BIS_fnc_fireSupport
Parameters:
arty: Object - Artillery unit.
pos: Position or Object or Marker - Target position
mag: String - Magazine (if left empy, first magazine available will be used)
radius: Number - Radius of target area in meters
rounds: Number - Number of rounds to be fired
delay: Array or Number - Delay between rounds.
conditionEnd: Code - Condition to end bombardment before all rounds are fired
safezone: Number - Safezone radius - minimal distance from the target position where shells may be directed at
Return Value:
Boolean - True if successful

Examples

Example 1:
[BIS_Mortar,[3600,3600,0],"",100,24,10] spawn BIS_fnc_fireSupport;
Example 2:
[BIS_Mortar,BIS_Player,"8Rnd_82mm_Mo_shells",100,24,10] spawn BIS_fnc_fireSupport;
Example 3:
[BIS_Mortar,"BIS_mrkTargetArea","8Rnd_82mm_Mo_shells",100,24,10,{BIS_Player distance BIS_EscapeZone < 100}] spawn BIS_fnc_fireSupport;

Additional Information

See also:
BIS_fnc_fireSupportClusterBIS_fnc_fireBIS_fnc_fireSupportVirtual

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