A pilot is standing in the cockpit doorway with a smile on his face as he looks at the entrance door.
A pilot smiles as he looks at the door.
A pilot with a smile on his face means the pilot smiles and an entrance door is a type of door.
(-x)
(-x)