BIS fnc fireSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= |x3=" to "|Example2= |x3=")
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1 = Supports |GROUP1=
|gr2 = Combat |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 52: Line 56:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Combat|{{uc:fireSupport}}]]
[[Category:Functions|{{uc:fireSupport}}]]
[[Category:Functions|{{uc:fireSupport}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:fireSupport}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:fireSupport}}]]

Revision as of 17:10, 9 October 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
[arty,target,mag,radius,rounds,delay,conditionEnd,safezone] spawn BIS_fnc_fireSupport
Parameters:
arty: Object - Artillery unit.
target: Position or Object or String - Target position, can be object/position 3D or marker name
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