doArtilleryFire: Difference between revisions
Jump to navigation
Jump to search
Austin medic (talk | contribs) No edit summary |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
| unit '''doArtilleryFire''' [position, type, rounds] |= Syntax | | unit '''doArtilleryFire''' [position, type, rounds] |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= [position, type, rounds]: [[Array]] |= | |p2= [position, type, rounds]: [[Array]] |PARAMETER2= | ||
|p3= position: [[Position]] |= | |p3= position: [[Position]] |PARAMETER3= | ||
|p4= type '''(case sensitive)''': [[String]] |= | |p4= type '''(case sensitive)''': [[String]] |PARAMETER4= | ||
|p5= rounds: [[Number]] |= | |p5= rounds: [[Number]] |PARAMETER5= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>mortar1 [[doArtilleryFire]] <nowiki>[</nowiki>[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3];</code> |= | |x1= <code>mortar1 [[doArtilleryFire]] <nowiki>[</nowiki>[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getArtilleryAmmo]], [[getArtilleryETA]], [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[shownArtilleryComputer]], [[inRangeOfArtillery]], [[fire]], [[doFire]], [[commandFire]], [[canFire]], [[fireAtTarget]], [[forceWeaponFire]], [[commandArtilleryFire]], [[commandSuppressiveFire]], [[doSuppressiveFire]], [[isManualFire]] |= | | [[getArtilleryAmmo]], [[getArtilleryETA]], [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[shownArtilleryComputer]], [[inRangeOfArtillery]], [[fire]], [[doFire]], [[commandFire]], [[canFire]], [[fireAtTarget]], [[forceWeaponFire]], [[commandArtilleryFire]], [[commandSuppressiveFire]], [[doSuppressiveFire]], [[isManualFire]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:30, 7 April 2019
Description
- Description:
- Orders a unit to reload defined magazine commence fire burst on the given position (silently).
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit doArtilleryFire [position, type, rounds]
- Parameters:
- unit: Object
- [position, type, rounds]: Array
- position: Position
- type (case sensitive): String
- rounds: Number
- Return Value:
- Nothing
Examples
- Example 1:
mortar1 doArtilleryFire [[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3];
Additional Information
- See also:
- getArtilleryAmmogetArtilleryETAenableEngineArtillerygetArtilleryComputerSettingsshownArtilleryComputerinRangeOfArtilleryfiredoFirecommandFirecanFirefireAtTargetforceWeaponFirecommandArtilleryFirecommandSuppressiveFiredoSuppressiveFireisManualFire
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