Sets an object to cast shadows on other objects. By default this is set to 0. An object can be set to cast or receive shadows or both. You can exclude individual meshes of an object from casting shadows by using SetObjectMeshCastShadow.
SetObjectCastShadow( objID, mode )