Jump to content
Sign in to follow this  
LaughingPineapple

How to make a single L-G artillery request?

Recommended Posts

In a certain mission (name in spoiler tag at bottom), you are required to use an LD to guide artillery shells, which when you order, come and destroy wherever you lazed. I de-pbo'ed the mission and put in in the editor, and found nothing related, so I searched the folder holding the entire mission and found several SQF files. The problem is, I am not sure how to activate these SQFs and use the feature. Any thoughts?

Mission:

Into the Storm, first real mission, in Op. Harvest Red.

Share this post


Link to post
Share on other sites

if you want it really simple do this:

into init field of unit:

this addAction ["Arty Shot", "artyshot.sqf", laserTarget player, 6, false, true, "", "currentweapon player == 'Laserdesignator'"];

artyshot.sqf

_round = "sh_120_he" createVehicle [getpos cursorTarget select 0, getpos cursorTarget select 1, 5];

You will get the action when you use the Designator. Point at something and boom!

If you want to do real artillery action take a look at this:

Artillery Module

Share this post


Link to post
Share on other sites

For some reason, an error shows up when I insert the code to the unit: "Missing ]".

---------- Post added at 21:49 ---------- Previous post was at 20:31 ----------

Can anyone help out? I really would like to use this.

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  

×