getArtilleryComputerSettings

From Bohemia Interactive Community
Revision as of 12:05, 3 July 2024 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns settings from current vehicle weapon manned by player.
Groups:
Artillery

Syntax

Syntax:
getArtilleryComputerSettings
Return Value:
Array format [fireMode, ammo, zero]:
  • fireMode: String - fire mode's display name
  • ammo: String - used ammo display name (not class name)
  • zero: Number - always 0

Examples

Example 1:
hint str getArtilleryComputerSettings; // ["Semi (medium)", "HE Mortar Shells", 0]

Additional Information

See also:
shownArtilleryComputer enableEngineArtillery commandArtilleryFire doArtilleryFire getArtilleryETA inRangeOfArtillery getArtilleryAmmo

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