Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Is it possible to add a door counter

A Question for Baldi's Basics

No ads for members. Membership is 100% free. Sign up!

Question Answered but Unsolved

This Question has been answered but no solution has been chosen. You can still post your own answer to help the submitter.

Still having some errors.

I'm making a mod for Baldi's Basics 1.4.3, and I want to add a code for the You Can Think Pad where it will add a door counter. The door counter will go up every time doors or yellow doors open, and goes down when the doors and yellow doors closes or locked up with the Yellow Door Lock. I don't mind if it's below the Notebook text or the Stamina bar. Is it possible for me to add a door counter for Baldi's Basics 1.4.3 with dnSpy?
Sign up to access this!
  • access_time 1mo edit 1mo
    Just make a variable callee "doorOpens" and then increase it by one in the OpenDoor void in the DoorScript and also increase it in the SwingDoorScript. if, this will work for also NPCS as well.

    If you dont want NPCS to work then make a bool called "npcOpenedDoor" and then set it to true in the OnTriggerEnter where it checks if they open it. Then in the Open Door Void do 

    if (this.npcOpenedDoor)
    {
        this.npcOpenedDoor = false
    }
    else
    {
        this.doorOpens++;
    }
    Never Give up on what you want avatar
    Mantra
    Never Give up on what you want
    URL to post:
  • rapparep lol avatar
    rapparep lol Joined 2y ago
    Making Things
    668 points Ranked 43675th
    12 medals 2 rare
    • Returned 1000 times Medal icon
    • Thanked 50 submitters Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Received thanks 5 times Medal icon
    • Returned 100 times Medal icon
    access_time 1mo
    new, Baldi's Basics but everytime you open a door, Baldi gets faster
    Can't narrow down one idea
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Asker

AngryBirdman03 avatar
AngryBirdman03 username pic Joined 2y ago
Offline
AngryBirdman03 avatar
AngryBirdman03

Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 610
  • 10
  • 1mo
  • 1mo

More from Submitter

More Script Help Questions