Clone yamato cannon, make it point to a damage effect (instead of a missile effect). Make an Actor Attack that has your new damage effect as 'attack effect'. Make an Actor Beam that is linked to from the attack actor (field 'beam'). Refer to the void ray model in the Actor Beam 'model' field.
Step by step instructions would be very long, so ask if you're stuck anywhere.