You'll Know It When It Happens

You'll Know It When It Happens is a main quest in Fallout: New Vegas.

Quick walkthrough
The President of the New California Republic Aaron Kimball is visiting Hoover Dam. Prevent any assassination attempts made on him.

Detailed walkthrough
You will be directed to speak with Ranger Grant in order to make preparations. Speaking to him will trigger a wait period, after which it will be time for the speech. He will allow you to make a security sweep before the speech begins. If you are not in good standing with the NCR he will not give you the itinerary for the speech and you will not be allowed to unholster your weapons even if you intend to kill the sniper or engineer. You can ask him for access to all areas of the dam in order to do a proper search. At this point, you can either complete the optional objective or skip to the speech.

Optional
Investigate the area for clues. There will be no waypoints to direct you, so you must locate them manually.
 * On the second floor of the visitor center you can talk to Allison Valentine, who is looking for her engineer friend. He has been missing for several hours.
 * The engineer's blood stain can be found in the supply closet in the Hoover Dam visitor center, on first floor behind the staircase. It requires a Perception of 6 to notice.
 * Hack the computer terminal (You will need 50 Science since it's Average security) in visitor center to discover an unauthorized access ID (Sgt. Macovitch). The terminal isn't owned so the soldiers will not shoot you.

Note: If you have Boone as a companion, when you walk up the ramp on the visitor center exterior towards Ranger Grant he'll say something about if he were the sniper, where he would shoot from. He'll tell you 3 locations (he is correct about the last two):
 * the ridge to the left of the road;
 * the tower behind the stage;
 * the roof of the Visitor's Center.

The speech
Once you speak to Ranger Grant again, the speech will begin. Kimball's vertibird, Bear Force One, will land on the roof of the Visitor Center. Grant and four Rangers will disembark, then move to the stage for the speech.

There are three different assassination attempts:
 * A sniper, dressed as an NCR Ranger, will appear atop the guard tower behind the stage set up for the speech;
 * A bomb is placed on the vertibird by an engineer;
 * Legion soldier, disguised as an engineer, will run up to the President and try to assassinate him with a knife (if you speak to Ranger Grant and tell him about any of the above two attempts, this is avoided).
 * If you received this quest from Yes Man or Mr. House, the staircase leading to the roof of the Visitor Center will be locked. However, so long as you're in good standing with the NCR, you can go up using the ladder on the outside of the building. Private Jensen will be guarding it, so an NCR disguise might be necessary to bypass him. A disguise can be found in the storage closet underneath the stairs in the visitor center. You can also talk your way past him with a Speech skill of 55. The same can happen if you have a mixed relationship with the NCR even if you attain this quest through the NCR.

Once on the roof, depending on how quickly you get up there, you may see an engineer tamper with the vertibird. "Activate" the vertibird to examine it, which will reveal that a bomb has been planted on it. An Explosives or Repair skill of 50 is required to remove it. Failing that, you'll need to get the detonator from the engineer. This can be done before or after the arrival of the sniper. He'll head into the crowd watching the speech, so you'll need to find him. He is on the left side facing the podium. The right (or left, depending on whether you are watching from the visitor center or the guard tower) engineer is the only one who will talk to you, and is the only one who won't clap. He will also move around occasionally, as noted in some cases. If you have Rex in your company he will detect the Legion engineer in the group, and after talking to the engineer he will become hostile. Take him out or let the Rangers do the job, then take his detonator. If you have the Animal Friend perk, you can take the search dog from the Ranger in front of the Visitor Center. The dog will also sniff out the disguised engineer.

Whether or not you have been able to defuse the bomb, you still need to stop the assassin at the guard tower. You will see him throw the real guard off the guard tower and take his place, unless you're already there, in which case he'll attack both you and the real guard on the spot.

Finally, the Legion engineer may attempt to stab Kimball personally. This won't happen if you covertly disable the bomb, since the engineer will still try to detonate it. Assuming he does attack, kill him and the final assassination attempt will be foiled. Kimball will return to his Vertibird and depart, completing the mission.

Alternate completion methods
There are a few other methods with which you can end this quest. However, each of these methods yields a different ending to the quest. Note that, no matter which way the quest is solved (as long as NCR doesn't turn hostile on you) you will receive the following quest (if you are siding with the NCR).
 * You can speak to the engineer before the vertibird even lands; he will respond aggressively, and you can lead him to attack by expressing your suspicions and offering to call the MPs or take him away yourself. Kill him and the speech is canceled, the vertibird leaves, and the quest completes, even though Grant won't talk to you.
 * You can report the existence of either the bomb or the assassin to Grant, provided you've dealt with one or both already (in that case, however, President's speech will be stopped and he will be evacuated). You don't need to disarm the bomb to report it in, merely find it, but you will need to kill the assassin to report him in. Once reported, Grant will cancel the speech and usher Kimball to safety by various means.
 * If you deal with the sniper and report the bomb in, it will trigger a scripted event where the engineer attempts to stab Kimball, only to be dispatched by the Rangers.
 * Disabling the bomb and reporting it without getting rid of the assassin will cause him to take a shot at Kimball, only to miss and hit a Ranger instead. Kimball will flee to safety. This is actually an easy way to obtain the NCR Ranger combat armor, provided you're sneaky enough to loot it without being seen. The NCR soldiers will turn hostile if they catch you. NOTE: If you report the bomb and do not deal with the sniper, you can easily loot the corpse of the dead NCR ranger, by wearing the NCR engineer jumpsuit that is found in the closet under the stairs, inside the Visitors Center. Just move to the back of the stage, and when the president moves out, you move in and loot the corpse. NCR did not turn hostile on up to date PS3 version.
 * Reporting the assassin without disabling the bomb will cause Grant to sweep the area again, causing him to find the bomb and defuse it. The engineer will also try to kill Kimball, so be ready to kill him first.
 * If you talk to the assassin on the tower after he pushes the ranger off, you can question him about it. He will then suggest going down there, but if you tell him not to, he will turn hostile and you can kill him. After that, if you report to Ranger Grant via the radio on the tower, tell him what happened and he will evacuate the president. As long as you haven't completed the optional objective with the dead engineer, the engineer won't stab Kimball and the bomb won't go off. Kimball will then fly off and the quest will mark complete. This can be done even if you haven't defused the bomb.

Behind the scenes

 * After killing the Legion sniper on the guard post and using the radio to report to Grant, one of the dialog options ("Everything's fine up here, thank you. How are you?") is a reference to dialog said by Han Solo from Star Wars Episode IV: A New Hope when he and Luke Skywalker are saving Princess Leia from the Death Star.
 * A majority of this quest was implemented by Charlie Staples.

Bugs

 * Sometimes, even though you start the quest by speaking with Ranger Grant, after you investigate the closet and check the terminal, going up onto the observation deck will not trigger the Vertibird landing and Ranger Grant will not initiate dialog any more.
 * Note: If you are unable to find Ranger Grant on the roof of the observation deck, sometimes he may be found waiting by the Visitor's Center staircase outside. If this happens you must revert to a previous save from before entering the building and speaking to Colonel Moore.
 * If you start Wild Card: Finishing Touch after starting this quest, you won't be able to talk to Ranger Grant (only one dialog option - Goodbye) and thus unable to start the event. Your only option is to finish Finishing Touch and let the President die.
 * This bug can be fixed in the console. Select Ranger Grant in the console or type and hit enter. Then type  hit enter, and type . He will be reset and start talking to your character. It may be required to disable and wait several hours then re-enter  and.
 * If you approach him from behind also seems to fix this bug, as it makes him start the conversation.
 * Shooting either him or an NCR ranger near him will cause him to run back to the Vertibird. His security will open fire on you, but will stop if you move so far away. Kimball will leave in his vertibird, and the legion dressed as an NCR engineer will be gunned down as he tries to attack Kimball. Within a few seconds after his departure, you will have completed the mission.
 * Though there are three assassination attempts, not all of them may be triggered during the quest. The bomb on the Vertibird will usually go off unless you deal with it, but the sniper and assassin in the crowd may not act.
 * If you disarm the bomb on the vertibird and then immediately run to the tower where the sniper spawns, climbing the ladder to the top of the tower may initiate the following sequence. When you reach the top, you will hear the scream of someone falling, but the Ranger sniper is still there alone and fine. If you wait through the speech on the tower with the Ranger sniper, nothing happens until the very end of the speech where a shot will ring out, President Kimball will disappear, the Ranger sniper on the tower (next to you) will disappear, and you will fail the quest (the only dialogue option when talking to Colonel Moore afterward is to tell her that the President was killed by a sniper).
 * If President Kimball finishes his speech and successfully makes his way back up to his vertibird, he may start walking endlessly against the ledge of the roof of the visitor center away from the vertibird, and never leave. To fix this, talk to Ranger Grant regarding the bomb or the sniper, and this will initiate the escape sequence for President Kimball, forcing him to depart in his vertibird.
 * After killing the sniper, report back to Ranger Grant. His first dialogue will be normal but his second sounds like it's coming through an intercom.
 * If you can't speak to Colonel Moore after finishing this mission type and you'll get the Eureka! mission.
 * If you can't speak to Colonel Moore after saving President Kimball, open the console with ~ and type This will allow you to tell the Colonel the President is safe.
 * If you receive the quest from the NCR quest line, you can request Ranger Grant to have full access, and it should be granted. As soon as you're ready to start up the quest, go outside and speak with Grant and tell him you're finished preparing. Immediately go onto the roof of the building, there should be a couple of NCR troops awaiting the President, and one engineer leaning against the side of the doorway leading to the visitor area. If you have a good sneak skill, you can hide on the other side of the wall. After the vertibird lands, and the closest NCR troop goes downstairs, the assassin in disguise will start walking toward the back of the vertibird. If you're hidden and you use a silenced weapon, you can kill the assassin before he places the bomb. This will cause everyone in the crowd to panic, as well as the President when he exits. A short time later, he should take back off and it will say that you successfully finished the quest.
 * It is possible that before reporting to the Ranger for the first time, many members of the audience will be stripped bare of all of their clothing and will stand there in their underwear during the speech.
 * Sometimes the Engineer glitches and never runs towards the stage: the mission is still accomplished and you may see the Engineer still 'watching' the speech later on in the game.
 * The PS3's lockup bug where the machine freezes up after extended periods in the open wasteland is especially prevalent during this quest. Simply restart the machine and reload the autosave and re-attempt the quest to get around this.
 * When you try to pickpocket the engineer and take his detonator and keys, without disabling the bomb in the President's vertibird, it still would explode. even after you protect the President from the sniper and the assassin. the trick of this glitch is to kill the engineer right after the vertibird landed, causing the President to flee safely before he is able to start his speech.
 * When you start the quest talk to ranger grant outside tell him you are ready then run up to the tower behind the stage climb the ladder then climb down and it should say quest completed
 * It is possible that Kimball's Vertibird may land and then suddenly take off. After this, the quest will be rendered complete without you having to stop any assassination attempts.
 * After initiating the dialog where Ranger Grant tells you to get some rest before the President arrives, the game may crash after fading out. (Possible fix) Wait to a certain time (i.e. 10:00 PM) then talk to Ranger Grant to proceed with the quest. (Waiting until 10PM confirmed fix on PC) (Possible fix) Wait multiple one-hour increments. If waiting is disabled, find a bed and sleep in one-hour increments.
 * When the Vertibird is flying to come over to the base to land. Press X and you'll complete the quest without having to protect him.
 * It is possible that when climbing the ladder to the tower with the sniper assassin while having ED-E as a companion, that all NCR troops will become hostile to ED-E. Easily fixed by telling ED-E to go back to the Lucky 38 with the latest patch since it will despawn him on the spot. This also forced the rangers to evacuate the President and complete the mission.
 * You can automatically fail the quest if you take the ladder down to the shore and swim to the opposite end of the Hoover Dam.