We love Star Wars. But there's no denying that some plot lines are... let's say, 'better developed' than others – and JJ Abrams smash hit The Force Awakens is no different.

One part we could never quite get our heads around was R2-D2's role in the film. He sat collecting dust in 'low power mode' all the time Luke Skywalker was in exile, only to wake up and deliver an important piece of the map to Luke's hiding place at just the right moment.

But in our internet travels we have discovered how R2 conveniently had that map in the first place, and why he woke up just in time.

R2-D2 and BB-8 Star Wars the Force Awakens mappinterest
Disney

It turns out that our favourite droid acquired the map way back in A New Hope... when he was plugged into the Death Star's computer.

"We had the idea about R2 plugging into the information base of the Death Star, and that's how he was able to get the full map and find where the Jedi temples are," The Force Awakens co-writer Michael Arndt explained to EW in the aftermath of the film's release.

Abrams added that they didn't want the film to get bogged down in "how shit happened 30 years ago".

"But the idea was that in that scene where R2 plugged in, he downloaded the archives of the Empire, which was referenced by Kylo Ren," he said.

R2-D2 Star Wars A New Hope Death Star computerpinterest
20th Century Studios

The idea that R2 had the map for years before it became useful feels (to us) like a satisfying way of tying back into the original trilogy.

But what about his waking up at just the right moment? We have BB-8 to thank for that.

"BB-8 comes up and says something to him, which is basically, 'I've got this piece of a map, do you happen to have the rest?'" said Abrams.

"The idea was, R2 who has been all over the galaxy, is still in his coma, but he hears this. And it triggers something that would ultimately wake him up."

So R2 and the Empire had half the map to the secret Jedi Temple on Ahch-To, where Luke was hiding. The other piece was 'found' by Lor San Tekka (Max von Sydow) – just don't ask us how.

Our lingering questions from The Force Awakens will *hopefully* be answered in Star Wars: The Last Jedi when it is released on December 15.


Want up-to-the-minute entertainment news and features? Just hit 'Like' on our Digital Spy Facebook page and 'Follow' on our @digitalspy Twitter account and you're all set.

Headshot of Hugh Armitage
Hugh Armitage
Hugh Armitage is Movies Editor at Digital Spy.