doArtilleryFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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]]  |= PARAMETER1
|p1= unit: [[Object]]  |PARAMETER1=  


|p2= [position, type, rounds]: [[Array]]  |= PARAMETER2
|p2= [position, type, rounds]: [[Array]]  |PARAMETER2=  


|p3= position: [[Position]]  |= PARAMETER3
|p3= position: [[Position]]  |PARAMETER3=  


|p4= type '''(case sensitive)''': [[String]]  |= PARAMETER4
|p4= type '''(case sensitive)''': [[String]]  |PARAMETER4=


|p5= rounds: [[Number]]  |= PARAMETER5
|p5= rounds: [[Number]]  |PARAMETER5=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>mortar1 [[doArtilleryFire]] <nowiki>[</nowiki>[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3];</code> |= EXAMPLE1
|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]] |= SEEALSO
| [[getArtilleryAmmo]], [[getArtilleryETA]], [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[shownArtilleryComputer]], [[inRangeOfArtillery]], [[fire]], [[doFire]], [[commandFire]], [[canFire]], [[fireAtTarget]], [[forceWeaponFire]], [[commandArtilleryFire]], [[commandSuppressiveFire]], [[doSuppressiveFire]], [[isManualFire]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:30, 7 April 2019

Hover & click on the images for description

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

Notes

Bottom Section