BIS fnc fireSupport: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] spawn ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr2= Combat | |gr2= Combat | ||
| Mortar/artillery fire support. | |descr= Mortar/artillery fire support. | ||
|s1=[arty,target,mag,radius,rounds,delay,conditionEnd,safezone] spawn [[BIS_fnc_fireSupport]] | |s1=[arty,target,mag,radius,rounds,delay,conditionEnd,safezone] spawn [[BIS_fnc_fireSupport]] |
Revision as of 20:47, 13 June 2021
Description
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
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