BIS fnc wpArtillery: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function" to "{{RV|type=function ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.00|gr1= Waypoints| Let group members fire artillery barrage on waypoint position. Units must have magazine type.| [group, position, target, firedRounds, type] call [[BIS_fnc_wpArtillery]]|p1= group: [[Group]]|p2= position: [[Position]]|p3= target: [[Object]] - (Optional, default [[objNull]]) '''''unused parameter'''''|p4= firedRounds: [[Number]] - (Optional, default 100) number of fired rounds|p5= type: [[String]] - (Optional, default "") magazine type to be used. If empty, first found magazine will be used| [[Boolean]] - [[true]] when done|x1= <code>[<nowiki/>[[group]] [[player]], [[getMarkerPos]] "artilleryStrike", [[objNull]], 30, "8Rnd_82mm_Mo_shells"] [[call]] [[BIS_fnc_wpArtillery]];</code>| [[doArtilleryFire]], [[inRangeOfArtillery]]
| arma3|1.00|gr1= Waypoints| Let group members fire artillery barrage on waypoint position. Units must have magazine type.| [group, position, target, firedRounds, type] call [[BIS_fnc_wpArtillery]]|p1= group: [[Group]]|p2= position: [[Position]]|p3= target: [[Object]] - (Optional, default [[objNull]]) '''''unused parameter'''''|p4= firedRounds: [[Number]] - (Optional, default 100) number of fired rounds|p5= type: [[String]] - (Optional, default "") magazine type to be used. If empty, first found magazine will be used| [[Boolean]] - [[true]] when done|x1= <code>[<nowiki/>[[group]] [[player]], [[getMarkerPos]] "artilleryStrike", [[objNull]], 30, "8Rnd_82mm_Mo_shells"] [[call]] [[BIS_fnc_wpArtillery]];</code>|seealso= [[doArtilleryFire]], [[inRangeOfArtillery]]
}}
}}

Revision as of 01:36, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Waypoints

Syntax

Syntax:
Syntax needed
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:
Return value needed

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