OK, I know now how to get the laser designator to trigger an action, and make anything I point it at melt/explode/come to life/ shoot/whatever, now there's a few more steps between designating and the big explosion. What I want to happen is for the A-10 LGB plane to fly towards the lasertarget, drop the bomb, and for the bomb to home in on the laser target object itself.
Now, as I'm in college with no access to OFP, I can't check, but I think I can find a code to make the airplane fly over and drop the weapon. Now what I want to know is what coding will make the "laserguidedbomb" move towards the "lasertarget" object?
So here's an idea of the code I'd use. there's a few holes in it, and synthax is shot, but would it work?
On activation:
plane domove getpos lasertarget;
(distance activation code) plane fire "laserguidedbomblauncher";
(?) laserguidedbomb domove getpos lasertarget (?)
Will try parts a and b when I get home tomorrow.