Hi Martin,
only distance measures can draw dashed lines in PyMOL, so try this:
unbond elem W, elem C
show sticks
show sphere, elem W
distance transbonds, elem W, elem C
hide label
set dash_round_ends, off
set dash_radius, 0.2
set dash_length, 0.4
set dash_gap, 0.15
ray
The dashes will display as
Dear PyMOL Users
If you load these coordinates in PyMOL
HETATM1 W LIG 1 -1.357 -0.079 0.052 1.00 0.00 W
HETATM2 C LIG 1 -0.713 -1.686 1.008 1.00 0.00 C
HETATM3 C LIG 1 -0.323 -1.855 -0.270 1.00 0.00 C
HETA