BIS fnc fireSupport: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^>]+)<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 22: | Line 22: | ||
|p5= rounds: [[Number]] - Number of rounds to be fired | |p5= rounds: [[Number]] - Number of rounds to be fired | ||
|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 | * [[Number]] - Precise delay | ||
|p7= conditionEnd: [[Code]] - Condition to end bombardment before all rounds are fired | |p7= conditionEnd: [[Code]] - Condition to end bombardment before all rounds are fired | ||
Line 34: | Line 34: | ||
|r1= [[Boolean]] - [[true]] if successful | |r1= [[Boolean]] - [[true]] if successful | ||
|x1= <sqf>[BIS_Mortar,[3600,3600,0],"",100,24,10] spawn BIS_fnc_fireSupport;</sqf> | |x1= <sqf>[BIS_Mortar, [3600,3600,0], "", 100, 24, 10] spawn BIS_fnc_fireSupport;</sqf> | ||
|x2= <sqf>[BIS_Mortar,BIS_Player,"8Rnd_82mm_Mo_shells",100,24,10] spawn BIS_fnc_fireSupport;</sqf> | |||
|x3= <sqf>[BIS_Mortar,"BIS_mrkTargetArea","8Rnd_82mm_Mo_shells",100,24,10,{BIS_Player | |x2= <sqf>[BIS_Mortar, BIS_Player, "8Rnd_82mm_Mo_shells", 100, 24, 10] spawn BIS_fnc_fireSupport;</sqf> | ||
|x3= <sqf>[BIS_Mortar, "BIS_mrkTargetArea", "8Rnd_82mm_Mo_shells", 100, 24, 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupport;</sqf> | |||
|seealso= [[BIS_fnc_fireSupportCluster]] [[BIS_fnc_fire]] [[BIS_fnc_fireSupportVirtual]] | |seealso= [[BIS_fnc_fireSupportCluster]] [[BIS_fnc_fire]] [[BIS_fnc_fireSupportVirtual]] | ||
}} | }} |
Revision as of 17:28, 13 July 2022
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:
- Example 2:
- Example 3:
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