Artillery
8 scripting commands. Also as Markdown for agents.
- commandArtilleryFireOrders an artillery unit to fire a burst on the given position (via the radio).
- doArtilleryFireOrders an artillery unit to fire a burst on the given position (silently).
- enableEngineArtilleryEnable/disable the artillery engine. This allows the user to use the artillery computer on mortar/artillery, and for AI to use it for indirect fire.
- getArtilleryAmmoGet list of all available magazines of artillery units on the list. Command returns only unique magazine types and doesn't contain any information…
- getArtilleryComputerSettingsReturns settings from current vehicle weapon manned by player.
- getArtilleryETAReturns ETA to the target in seconds for given artillery unit based on target position and used magazine, -1 if target can't be hit.
- inRangeOfArtilleryReturns true if all given units are able to fire at given position with given magazineType.
- shownArtilleryComputerChecks whether the player has the artillery computer currently open.