BIS fnc wpArtillery: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki\/>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 22: | Line 22: | ||
|r1= [[Boolean]] - [[true]] when done | |r1= [[Boolean]] - [[true]] when done | ||
|x1= <code>[group | |x1= <code>[group player, [[getMarkerPos]] "artilleryStrike", [[objNull]], 30, "8Rnd_82mm_Mo_shells"] [[call]] [[BIS_fnc_wpArtillery]];</code> | ||
|seealso= [[doArtilleryFire]] [[inRangeOfArtillery]] | |seealso= [[doArtilleryFire]] [[inRangeOfArtillery]] | ||
}} | }} |
Revision as of 16:56, 13 July 2022
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: Array format 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:
- doArtilleryFire inRangeOfArtillery
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