Looking at the Human Cast in the Third Transformers Movie
The third Transformers film brought back the core group of human characters that had been established in the first two movies, though the roster shifted a bit by the end. If you are just trying to figure out who was actually on screen during the final battle sequences and what role they played, here is a straightforward breakdown. Shia LaBeouf returned as Sam Witwicky, now an MIT student who gets pulled back into the conflict. His character arc in this one is less about discovering the Transformers and more about dealing with the consequences of having already worked with them. He ends up in Egypt during the climax, which is where most of the human action takes place. Megan Fox played Mikaela Banes, Sam's girlfriend at the start of the film. She has a reduced role compared to the first movie but still shows up in the later acts. By the end, she and Sam are together and she is dealing with the aftermath of everything that happened.
Josh Duhamel came back as Captain Lennox, a U.S. Army officer who coordinates military operations against the Decepticons. His scenes were mostly grounded in real military procedure, which gave his character a slightly more serious tone than some of the comic relief moments in the earlier films. He does not transform — he just drives a truck that transforms, which is a nice touch. Tyrese Gibson returned as Corporal Epps, Lennox's partner. He spent a good chunk of the film in an interrogation scene that was actually pretty tense, playing off of Shia LaBeouf's character under pressure. His military background carried through the whole thing. John Turturro played Jerry Gasket, a mechanic who works at a junkyard. He is one of the less obvious choices for a hero, but his character ends up helping Sam and the Autobots by providing access to vehicles and information. Not the typical action role, but it fits.
Glenn Morshower appeared as General Morshower, the military overseer who authorizes many of the operations. His character represents the chain of command that is constantly trying to keep track of what is happening without fully understanding it. On the villain side, Patrick Dempsey played Aaron Gabby, a businessman who makes a deal with the Decepticons, and Tommy Lee Jones had a supporting role as a government agent. Neither of them are heroes, but they are important to understanding the plot mechanics of why the final battle happens where and when it does. The main problem I ran into when trying to track who does what across the entire film is that the movie jumps around locations and timelines fairly aggressively. Sam starts in Pennsylvania, moves to Washington D.C., then ends up in Egypt. Keeping track of which human characters are with him at any given point requires paying close attention. I found it helpful to pause and note character locations at major act breaks rather than trying to follow everyone in real time.
Get the Full Details

One thing people often miss is that several of these characters have very different levels of involvement in the actual final battle. Lennox and Epps are the ones most directly engaged in combat operations, while Sam and Mikaela are more involved in the discovery and resolution aspects. The military personnel handle the heavy fighting while the younger characters deal with the diplomatic and investigative side of things. This division of labor is not always clear on a first viewing. The film also introduced some new human characters who did not appear again, like the Egyptian soldiers and local officials encountered in the final act. They had specific purposes but no ongoing arcs, which is standard for this type of production. If you want to watch the film specifically to see these characters in action, the final battle sequences run for roughly forty minutes and are spread across the last third of the movie. The human elements are woven throughout rather than concentrated in one section.