If I use those commands to add a new auto guided missile weapon to an helicopter, then the pilot will not have the possibility to lock on to targets (the square/diamond will not appear on the screen).
The only case where it works is where the helicopter already has an auto guided weapon.
Suggestion: also add the target locking capability of the weapon at the same time as the weapon.