This setting changes the transparency of the cartoon representation.
As of PyMOL version 2.3, cartoon transparency is now an atom-level setting. This allows for a cartoon selection to be transparent without creating an additional object.
set cartoon_transparency, 0.5, <object> # 50% transparent, the object name is optional
Valid values range from 0.0 - 1.0