My FNaF 4 Bot plays through the entire game

Channel:
Subscribers:
3,560
Published on ● Video Link: https://www.youtube.com/watch?v=2nFV9vtFEuE



Duration: 1:41:55
331 views
6


Ok, for real this is the last bot. This one is by far the most complicated one. I went in thinking this one was going to be easy since the gameplay is pretty straightforward, but boy was I wrong lol. Turns out, you have to actually prioritize who the guard checks. And I'll explain why. Let's say that everyone is active: The Freddles are building up, Foxy is in the closet, and Bonnie and Chica are at their doors. Normally when you play the game, you get to decide who to check. But the bot is just code that I tell it to run, so I had to manually specify who to check first. But how did I do it? Well, I had to make a priority system. The priority system tells the bot who to check first above any other animatronic. Think about the FNaF 1 cameras where the game has to choose who to display if there's no graphic for multiple animatronics at once. It's kinda the same here but more complicated. And the reason it's more complicated is that I had to add 2 priority systems. We'll call them Stage 1 and Stage 2. If each animatronic is at stage 1, they're active and should be checked on but it's not urgent. At stage 2, It's urgent and needs to be checked on before you can check on any stage 1 animatronic. For example, Bonnie standing at the end of your hall is considered stage 1, but if he's at your door, that's stage 2. So if any animatronic is at stage 2, everyone on stage 1 doesn't matter at all. So let's say that multiple animatronics are on stage 2, who will the bot check first? That's where I had to implement another priority system. I actually had to make 4 priority systems. 2 for if Mad Freddy is off and 2 for if Mad Freddy is on. And if you're curious about who takes priority over who in this bot: I'll tell you here. Without Mad Freddy at Stage 1: NM Bonnie > NM Chica > NM Freddy > NM Foxy. Without Mad Freddy at Stage 2: NM Freddy > NM Foxy > NM Chica > NM Bonnie. With Mad Freddy at Stage 1: NM Foxy > NM Freddy > NM Bonnie > NM Chica. And also the bot only controls the Night Phase and Fun with plushtrap.
One more thing: The guard running around going crazy when Nightmare Fredbear/Nightmare runs around isn't a glitch. It's completely intentional because they have a timer where they can jumpscare you if you're idle for long enough.

------------------------------------------------------------

Timestamps: (Will be in comments too.)
0:54 - Night 1
8:36 - Night 2
15:58 - Night 3
24:39 - Night 4
31:39 - Night 5 (Star 1)
38:50 - Night 6 (Star 2)
46:07 - Nightmare (Star 3)
53:02 - 20/20/20/20 (Star 4)
59:31 - Nightmare: Blind Mode (Star 5)
1:05:58 - Nightmare: Mad Freddy (Star 6)
1:12:30 - Nightmare: Insta-Foxy (Star 7)
1:18:58 - Nightmare: All Nightmare (Star 8)
1:25:27 - Nightmare: Blind Mode & All Nightmare (Star 9)
1:31:53 - Nightmare: Blind Mode, Mad Freddy, & Insta-Foxy (Star 10)
1:38:54 - Failed Attempts

------------------------------------------------------------

Download Five Nights at Freddy's 4 ► https://store.steampowered.com/app/388090/Five_Nights_at_Freddys_4/

------------------------------------------------------------

Download Five Nights at Freddy's ►https://store.steampowered.com/app/319510/Five_Nights_at_Freddys/
Download Five Nights at Freddy's 2
https://store.steampowered.com/app/332800/Five_Nights_at_Freddys_2/
Download Five Nights at Freddy's 3 ► https://store.steampowered.com/app/354140/Five_Nights_at_Freddys_3/
Download Five Nights at Freddy's sister location ► https://store.steampowered.com/app/506610/Five_Nights_at_Freddys_Sister_Location/
Download Freddy Fazbear's Pizzeria Simulator ►https://store.steampowered.com/app/738060/Freddy_Fazbears_Pizzeria_Simulator/
Download Ultimate Custom Night ►https://store.steampowered.com/app/871720/Ultimate_Custom_Night/







Other Statistics

Five Nights at Freddy's 4 Statistics For REKA

REKA currently has 1,769 views spread across 2 videos for Five Nights at Freddy's 4. Five Nights at Freddy's 4 has approximately 1 hour of watchable video on his channel, making up less than 0.68% of the total overall content on REKA's YouTube channel.