_guy = _this select 0
_target = _this select 1
#loop
~2
?(_guy distance _ target) < 10:GOTO "explode"
goto "loop"
#explode
blah123123 = "laserguidedbomb" camcreate getpos _guy
; optional next line
deletevehicle _man
EXIT
Use.. [this,targetLogic] exec "scriptname.sqs" in the bombers INIT field
targetLogic is a gameLogic, named targetLogic
Basicly, it checks every 2 seconds if the bomber is <10 meters from the target, if he is, then blow him up.
The same will work on cars, just put it in it's init, and give it a waypoint
- Ben