BIS fnc fireSupportCluster: 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 36: | Line 36: | ||
|exec= spawn | |exec= spawn | ||
|x1= <sqf>[BIS_Player,"G_40mm_HEDP",100,[4,10],10] spawn BIS_fnc_fireSupportCluster;</sqf> | |x1= <sqf>[BIS_Player, "G_40mm_HEDP", 100, [4,10], 10] spawn BIS_fnc_fireSupportCluster;</sqf> | ||
|x2= <sqf>[ BIS_Victim,"G_40mm_HEDP",100,[5,25],10,{dayTime > 20},75,500,150,["shell1","shell2"] ] spawn BIS_fnc_fireSupportCluster;</sqf> | |x2= <sqf>[BIS_Victim,"G_40mm_HEDP", 100, [5,25], 10, { dayTime > 20 }, 75, 500, 150, ["shell1", "shell2"]] spawn BIS_fnc_fireSupportCluster;</sqf> | ||
|x3= <sqf>["BIS_mrkTargetArea","",100,[4,10],10,{BIS_Player | |x3= <sqf>["BIS_mrkTargetArea", "", 100, [4,10], 10, { BIS_Player distance BIS_EscapeZone < 100 }] spawn BIS_fnc_fireSupportCluster;</sqf> | ||
|seealso= [[BIS_fnc_fireSupport]] [[BIS_fnc_fireSupportVirtual]] | |seealso= [[BIS_fnc_fireSupport]] [[BIS_fnc_fireSupportVirtual]] | ||
}} | }} |
Revision as of 17:21, 13 July 2022
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