BIS fnc wpArtillery: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
(Fix arguments)
Line 8: Line 8:


| Let group members fire artillery barrage on waypoint position. Units must have magazine type. |Description=
| Let group members fire artillery barrage on waypoint position. Units must have magazine type. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [group, position'', target, firedRounds'', type] call [[BIS_fnc_wpArtillery]] |Syntax=
| [group, position, target, firedRounds, type] call [[BIS_fnc_wpArtillery]] |Syntax=


|p1= group: [[Group]] |Parameter 1=
|p1= group: [[Group]] |Parameter 1=
Line 17: Line 16:
|p2= position: [[Position]] |Parameter 2=
|p2= position: [[Position]] |Parameter 2=


|p3= target: [[Anything]] - (Optional, default [[objNull]]) unused parameter |Parameter 3=
|p3= target: [[Object]] - (Optional, default [[objNull]]) '''''unused parameter''''' |Parameter 3=


|p4= firedRounds: [[Number]] - (Optional, default 100) number of fired rounds |Parameter 4=
|p4= firedRounds: [[Number]] - (Optional, default 100) number of fired rounds |Parameter 4=


|p5= type: [[String]] - magazine type |Parameter 5=
|p5= type: [[String]] - (Optional, default "") magazine type to be used. If empty, first found magazine will be used |Parameter 5=


| [[Boolean]] - [[true]] when done |Return value=
| [[Boolean]] - [[true]] when done |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code><nowiki>[</nowiki>[[group]] [[player]], [[getMarkerPos]] "artilleryStrike", [[objNull]], 30, "8Rnd_82mm_Mo_shells"] [[call]] [[BIS_fnc_wpArtillery]];</code> |Example 1=
|x1= <code>[<nowiki/>[[group]] [[player]], [[getMarkerPos]] "artilleryStrike", [[objNull]], 30, "8Rnd_82mm_Mo_shells"] [[call]] [[BIS_fnc_wpArtillery]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 40: Line 39:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:wpArtillery}}]]
[[Category:Function Group: Waypoints|{{uc:wpArtillery}}]]
[[Category:Function Group: Waypoints|{{uc:wpArtillery}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:wpArtillery}}]]

Revision as of 19:38, 16 July 2020

Hover & click on the images for description

Description

Description:
Let group members fire artillery barrage on waypoint position. Units must have magazine type.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[group, position, target, firedRounds, type] call BIS_fnc_wpArtillery
Parameters:
group: Group
position: Position
target: Object - (Optional, default objNull) unused parameter
firedRounds: Number - (Optional, default 100) number of fired rounds
type: String - (Optional, default "") magazine type to be used. If empty, first found magazine will be used
Return Value:
Boolean - true when done

Examples

Example 1:
[group player, getMarkerPos "artilleryStrike", objNull, 30, "8Rnd_82mm_Mo_shells"] call BIS_fnc_wpArtillery;

Additional Information

See also:
doArtilleryFireinRangeOfArtillery

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

Notes

Bottom Section