BIS fnc fireSupport: Difference between revisions
Jump to navigation
Jump to search
m (parameter 1) |
Lou Montana (talk | contribs) m (Text replacement - "|= |x3=" to "|Example2= |x3=") |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Function|= | {{Function|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Mortar/artillery fire support. |= | | Mortar/artillery fire support. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [arty,target,mag,radius,rounds,delay,conditionEnd,safezone] | | [arty,target,mag,radius,rounds,delay,conditionEnd,safezone] spawn [[BIS_fnc_fireSupport]] |SYNTAX= | ||
|p1= arty: [[Object]] - Artillery unit.|= | |p1= arty: [[Object]] - Artillery unit.|PARAMETER1= | ||
|p2= | |p2= target: [[Position]] or [[Object]] or [[String]] - Target position, can be object/position 3D or marker name|PARAMETER2= | ||
|p3= mag: [[String]] - Magazine (if left empy, first magazine available will be used)|= | |p3= mag: [[String]] - Magazine (if left empy, first magazine available will be used)|PARAMETER3= | ||
|p4= radius: [[Number]] - Radius of target area in meters|= | |p4= radius: [[Number]] - Radius of target area in meters|PARAMETER4= | ||
|p5= rounds: [[Number]] - Number of rounds to be fired|= | |p5= rounds: [[Number]] - Number of rounds to be fired|PARAMETER5= | ||
|p6= delay: [[Array]] or [[Number]] - Delay between rounds. | |p6= delay: [[Array]] or [[Number]] - Delay between rounds. | ||
Line 26: | Line 26: | ||
**1: Min delay | **1: Min delay | ||
**2: Max delay | **2: Max delay | ||
*[[Number]] - Precise delay|= | *[[Number]] - Precise delay|PARAMETER6= | ||
|p7= conditionEnd: [[Code]] - Condition to end bombardment before all rounds are fired|= | |p7= conditionEnd: [[Code]] - Condition to end bombardment before all rounds are fired|PARAMETER7= | ||
|p8= safezone: [[Number]] - Safezone radius - minimal distance from the target position where shells may be directed at|= | |p8= safezone: [[Number]] - Safezone radius - minimal distance from the target position where shells may be directed at|PARAMETER8= | ||
| [[Boolean]] - [[True]] if successful |= | | [[Boolean]] - [[True]] if successful |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[BIS_Mortar,[3600,3600,0],"",100,24,10] [[spawn]] [[BIS_fnc_fireSupport]];</code> |= | |x1= <code>[BIS_Mortar,[3600,3600,0],"",100,24,10] [[spawn]] [[BIS_fnc_fireSupport]];</code> |Example1= | ||
|x2= <code>[BIS_Mortar,BIS_Player,"8Rnd_82mm_Mo_shells",100,24,10] [[spawn]] [[BIS_fnc_fireSupport]];</code> |= | |x2= <code>[BIS_Mortar,BIS_Player,"8Rnd_82mm_Mo_shells",100,24,10] [[spawn]] [[BIS_fnc_fireSupport]];</code> |Example2= | ||
|x3= <code>[BIS_Mortar,"BIS_mrkTargetArea","8Rnd_82mm_Mo_shells",100,24,10,{BIS_Player distance BIS_EscapeZone < 100}] [[spawn]] [[BIS_fnc_fireSupport]];</code> |= | |x3= <code>[BIS_Mortar,"BIS_mrkTargetArea","8Rnd_82mm_Mo_shells",100,24,10,{BIS_Player [[distance]] BIS_EscapeZone < 100}] [[spawn]] [[BIS_fnc_fireSupport]];</code> |= | ||
______________ | ______________ | ||
| [[BIS_fnc_fireSupportCluster]], [[BIS_fnc_fire]], [[BIS_fnc_fireSupportVirtual]] |= | | [[BIS_fnc_fireSupportCluster]], [[BIS_fnc_fire]], [[BIS_fnc_fireSupportVirtual]] |SEEALSO= | ||
}} | }} | ||
Revision as of 05:04, 3 September 2019
Description
- Description:
- Mortar/artillery fire support.
- Execution:
- call
- Groups:
- Uncategorised
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