BIS fnc wpArtillery: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Waypoints(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Waypoints |GROUP1= | |gr1= Waypoints |GROUP1= | ||
| 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= | ||
Line 25: | Line 22: | ||
| [[Boolean]] - [[true]] when done |Return value= | | [[Boolean]] - [[true]] when done |Return value= | ||
|x1= <code>[<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= | ||
| [[doArtilleryFire]], [[inRangeOfArtillery]] |See also= | | [[doArtilleryFire]], [[inRangeOfArtillery]] |See also= |
Revision as of 00:11, 17 January 2021
Description
- Description:
- Let group members fire artillery barrage on waypoint position. Units must have magazine type.
- Execution:
- call
- Groups:
- Waypoints
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