BIS fnc fireSupportCluster: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Supports | |gr1 = Supports | ||
| Virtual fire support - cluster shell. | | Virtual fire support - cluster shell. | ||
| [position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn [[BIS_fnc_fireSupportCluster]] | | [position,ammo,radius,rounds,delay,conditionEnd,safezone,altitude,velocity,sounds] spawn [[BIS_fnc_fireSupportCluster]] | ||
|p1= position: [[Position]], [[Object]] or [[String]] - Can be position, an object, or a marker | |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) Radius of the area in metres | |p3= radius: [[Number]] - (Optional, default 100) Radius of the area in metres | ||
|p4= rounds: [[Array]] - (Optional, default [1,20]) Number of rounds to be fired, can be: | |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) Delay between rounds in seconds, can be [[Number]] for precise delay or [[Array]] to set min and max delay | |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) Safezone radius in metres | |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) Descending velocity, in m/s | |p9= velocity: [[Number]] - (Optional, default 100) Descending velocity, in m/s | ||
|p10= sounds: [[Array]] - (Optional, default [""]) Strings of sounds to be played on the incoming submunition |Parameter 10= | |p10= sounds: [[Array]] - (Optional, default [""]) Strings of sounds to be played on the incoming submunition |Parameter 10= | ||
| [[Boolean]] | | [[Boolean]] | ||
|exec= spawn |Execution= | |exec= spawn |Execution= | ||
|x1= <code> [BIS_Player,"G_40mm_HEDP",100,[4,10],10] [[spawn]] [[BIS_fnc_fireSupportCluster]];</code> | |x1= <code> [BIS_Player,"G_40mm_HEDP",100,[4,10],10] [[spawn]] [[BIS_fnc_fireSupportCluster]];</code> | ||
|x2= <code> [ BIS_Victim,"G_40mm_HEDP",100,[5,25],10,{[[daytime]] > 20},75,500,150,["shell1","shell2"] ] [[spawn]] [[BIS_fnc_fireSupportCluster]];</code> | |x2= <code> [ BIS_Victim,"G_40mm_HEDP",100,[5,25],10,{[[daytime]] > 20},75,500,150,["shell1","shell2"] ] [[spawn]] [[BIS_fnc_fireSupportCluster]];</code> | ||
|x3= <code> ["BIS_mrkTargetArea","",100,[4,10],10,{BIS_Player [[distance]] BIS_EscapeZone < 100}] [[spawn]] [[BIS_fnc_fireSupportCluster]];</code> | |x3= <code> ["BIS_mrkTargetArea","",100,[4,10],10,{BIS_Player [[distance]] BIS_EscapeZone < 100}] [[spawn]] [[BIS_fnc_fireSupportCluster]];</code> | ||
| [[BIS_fnc_fireSupport]], [[BIS_fnc_fireSupportVirtual]] | | [[BIS_fnc_fireSupport]], [[BIS_fnc_fireSupportVirtual]] | ||
}} | }} | ||
Revision as of 23:02, 17 January 2021
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:
[BIS_Player,"G_40mm_HEDP",100,[4,10],10] spawn BIS_fnc_fireSupportCluster;
- Example 2:
[ BIS_Victim,"G_40mm_HEDP",100,[5,25],10,{daytime > 20},75,500,150,["shell1","shell2"] ] spawn BIS_fnc_fireSupportCluster;
- Example 3:
["BIS_mrkTargetArea","",100,[4,10],10,{BIS_Player distance BIS_EscapeZone < 100}] spawn BIS_fnc_fireSupportCluster;
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