unit1 addAction ["Use bazooka", "bazooka.sqs"]
syntax not guaranteed ... check the command ref for more info. bazooka.sqs is the script file that contains the commands that you want carried out when the player uses the action.
The commands
selectWeapon
doTarget
doFire
may come in handy for the script.