BIS fnc fireSupportCluster: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|s1= [position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn [[BIS_fnc_fireSupportCluster]] | |s1= [position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn [[BIS_fnc_fireSupportCluster]] | ||
|p1= position: [[Position]], [[Object]] or [[String]] - | |p1= position: [[Position]], [[Object]] or [[String]] - can be position, an object, or a marker | ||
|p2= ammo: [[String]] - (Optional, default "G_40mm_HEDP") ammunition class, [[nil]] or empty string to use 40mm HEDP shells | |p2= ammo: [[String]] - (Optional, default "G_40mm_HEDP") ammunition class, [[nil]] or empty string to use 40mm HEDP shells | ||
|p3= radius: [[Number]] - (Optional, default 100) | |p3= radius: [[Number]] - (Optional, default 100) radius of the area in metres | ||
|p4= rounds: [[Array]] - (Optional, default [1,20]) | |p4= rounds: [[Array]] - (Optional, default [1,20]) number of rounds to be fired, can be: | ||
* 0: Number of shells | * 0: Number of shells | ||
* 1: Number of submunition | * 1: Number of submunition | ||
|p5= delay: [[Array]] or [[Number]] - (Optional, default 10) | |p5= delay: [[Array]] or [[Number]] - (Optional, default 10) delay between rounds in seconds, can be [[Number]] for precise delay or [[Array]] to set min and max delay | ||
|p6= conditionEnd: [[Code]] - (Optional, default {}) condition to end fire support | |p6= conditionEnd: [[Code]] - (Optional, default {}) condition to end fire support | ||
|p7= safeZone: [[Number]] - (Optional, default 0) | |p7= safeZone: [[Number]] - (Optional, default 0) safezone radius in metres | ||
|p8= altitude: [[Number]] - (Optional, default 100) altitude in metres where the submunition will be spawned | |p8= altitude: [[Number]] - (Optional, default 100) altitude in metres where the submunition will be spawned | ||
|p9= velocity: [[Number]] - (Optional, default 100) | |p9= velocity: [[Number]] - (Optional, default 100) descending velocity, in m/s | ||
|p10= sounds: [[Array]] - (Optional, default [""]) | |p10= sounds: [[Array]] - (Optional, default [""]) strings of sounds to be played on the incoming submunition | ||
|r1= [[Boolean]] | |r1= [[Boolean]] |
Latest revision as of 14:00, 8 November 2023
Description
Syntax
- Syntax:
- [position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn BIS_fnc_fireSupportCluster
- Parameters:
- position: Position, Object or String - can be position, an object, or a marker
- ammo: String - (Optional, default "G_40mm_HEDP") ammunition class, nil or empty string to use 40mm HEDP shells
- radius: Number - (Optional, default 100) radius of the area in metres
- rounds: Array - (Optional, default [1,20]) number of rounds to be fired, can be:
- 0: Number of shells
- 1: Number of submunition
- delay: Array or Number - (Optional, default 10) delay between rounds in seconds, can be Number for precise delay or Array to set min and max delay
- conditionEnd: Code - (Optional, default {}) condition to end fire support
- safeZone: Number - (Optional, default 0) safezone radius in metres
- altitude: Number - (Optional, default 100) altitude in metres where the submunition will be spawned
- velocity: Number - (Optional, default 100) descending velocity, in m/s
- sounds: Array - (Optional, default [""]) strings of sounds to be played on the incoming submunition
- Return Value:
- Boolean
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