BIS fnc wpArtillery: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| arma3 |Game name=


{{Function|= Comments
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| [group, position'', target, firedRounds'', type] call [[BIS_fnc_wpArtillery]] |Syntax=
 
Description:
Let group members fire artillery barrage on waypoint position


Parameters:
|p1= group: [[Group]] |Parameter 1=
0: GROUP
1: ARRAY - waypoint position
2: OBJECT - target to which waypoint is attached to
3 (Optional): NUMBER - number of fired rounds
4 (Optional): STRING - magazine type


Returns:
|p2= position: [[Position]] |Parameter 2=
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p3= target: [[Anything]] - (Optional, default [[objNull]]) unused parameter |Parameter 3=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_wpArtillery]]; --> |= Syntax
|p4= firedRounds: [[Number]] - (Optional, default 100) number of fired rounds |Parameter 4=


|p1= |= Parameter 1
|p5= type: [[String]] - magazine type |Parameter 5=


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


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


| |= See also
| [[doArtilleryFire]], [[inRangeOfArtillery]] |See also=
 
}}
}}


Line 49: Line 40:


<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:Functions|{{uc:wpArtillery}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:wpArtillery}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:wpArtillery}}]]

Revision as of 13:46, 5 June 2018

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: Anything - (Optional, default objNull) unused parameter
firedRounds: Number - (Optional, default 100) number of fired rounds
type: String - magazine type
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