Arma 3
VME PLA Mod
hcpookie  [developer] 21 Jun, 2019 @ 9:33pm
Artillery Missions
The latest artillery functions allow players to command AI artillery units to launch fire missions via the action menu.

To launch an AI artillery mission, add an action to the desired unit (or vehicle commander) you wish to use as the artillery controller / forward observer.

You may replace "player" with the object's "Variable Name" (in the editor) depending on your scripting needs:

===============
this addAction ["Arty Mission", {[player, "HE", 20] spawn VME_ARTY_FNC_ARTYMISSION},"",1,false,true];
===============

ALTERNATIVE USAGE: You may also use a trigger/script in place of the artillery controller:

===============
_arty = [this, "HE"] spawn VME_ARTY_FNC_ARTYMISSION;
===============