Jump to content

Recommended Posts

Hey all, I searched the site but found nothing on this. Is there a way to make a team of BM21 grads fire missiles at a target (IE a city) using a high command module or through squad commands?

Share this post


Link to post
Share on other sites

The Grad is artillery you need to create a fire mission and execute it.

Here is a simple example:

// There is a arty logic ingame named arty1;
_myBattery = arty1;


// We need to make a arty fire mission template
_heTemplate = ["IMMEDIATE", "HE", 0, 15];


// We need the postion of the target Above Sea Level.
_targetPos = getPosASL target_1;


// Here we check and make sure it is range then we exicute the fire mission.
if ([_myBattery, _targetPos, _heTemplate select 1] call BIS_ARTY_F_PosInRange) then
{
    [_myBattery, _targetPos, _heTemplate] call BIS_ARTY_F_ExecuteTemplateMission;
    hint "Firing... Sit back and wait, it will take about 60-90 seconds for the rounds to impact";
} else
{
    hint "Target out of range!";
};


example mission:

https://sites.google.com/site/armatutorials/home/videos/BM-21_Template.Takistan.zip?attredirects=0&d=1

Use the radio trigger in the mission to fire the arty.

Share this post


Link to post
Share on other sites

Is there any other way I can trigger this? Say I walk into an area, will the Grad auto fire once I reach the zone?

Share this post


Link to post
Share on other sites

Yes, the trigger just starts the script. You can start the script in a number of ways.

Share this post


Link to post
Share on other sites
The Grad is artillery you need to create a fire mission and execute it.

Here is a simple example:

// There is a arty logic ingame named arty1;
_myBattery = arty1;


// We need to make a arty fire mission template
_heTemplate = ["IMMEDIATE", "HE", 0, 15];


// We need the postion of the target Above Sea Level.
_targetPos = getPosASL target_1;


// Here we check and make sure it is range then we exicute the fire mission.
if ([_myBattery, _targetPos, _heTemplate select 1] call BIS_ARTY_F_PosInRange) then
{
    [_myBattery, _targetPos, _heTemplate] call BIS_ARTY_F_ExecuteTemplateMission;
    hint "Firing... Sit back and wait, it will take about 60-90 seconds for the rounds to impact";
} else
{
    hint "Target out of range!";
};


example mission:

https://sites.google.com/site/armatutorials/home/videos/BM-21_Template.Takistan.zip?attredirects=0&d=1

Use the radio trigger in the mission to fire the arty.

Thanks you so much that's most great script I found after days of searching and asking!

Share this post


Link to post
Share on other sites

All this does is spawn bombs on the target area. The BM-21s don't actually fire or do anything.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×