Baldi's Basics Plus Glue API
Modding API for Baldi's Basics Plus
Loading...
Searching...
No Matches
BBPGlue.API.BBPBaldi Class Referencesealed

Wraps the BB+ Baldi NPC and exposes Baldi-specific fields, sounds, detention behavior, and helper methods. More...

Inheritance diagram for BBPGlue.API.BBPBaldi:

Public Member Functions

void AddExtraAnger (float value)
 Adds extra anger to Baldi by invoking the underlying GetExtraAnger method.
 BBPBaldi (object? raw)
 Initializes a new instance of the BBPBaldi class wrapping a raw object.
void BreakRuler ()
 Invokes the underlying BreakRuler behavior for Baldi.
void CaughtPlayer (BBPPlayerRef player)
 Notifies Baldi that a player has been caught.
void ClearDestination ()
 Clears the NPC's current destination.
void ClearDestinationInteraction ()
 Clears the current destination interaction for Baldi.
void ClearGuilt ()
 Clears the NPC's guilt state.
void ClearSoundLocations ()
 Clears tracked sound locations for Baldi.
void Despawn ()
 Despawns the NPC.
void DestinationEmpty ()
 Notifies the NPC that its destination is empty.
float DistanceCheck (float value)
 Calls the NPC distance check.
void Distract ()
 Causes Baldi to become distracted by invoking the underlying Distract method.
void EatSound ()
 Triggers Baldi's eat sound behavior.
void EndSlap ()
 Ends Baldi's slap action by invoking the underlying EndSlap method.
void FindPath (Vector3 start, Vector3 target)
 Finds a path from a custom start position to a target position.
void FindPath (Vector3 target)
 Finds a path to the target position.
void FindPathAvoid (Vector3 target, Vector3 avoid)
 Finds a path to the target while avoiding a position.
void Flip ()
 Flips the NPC entity.
void GetAngry (float value)
 Triggers Baldi to get angry by invoking the underlying GetAngry method.
void Hear (GameObject? source, Vector3 position, int value, bool indicator=true)
 Informs Baldi of a sound source at a given position.
void Hear (GameObject source, Vector3 position, int value)
 Makes the NPC hear a sound.
void Hear (Vector3 position, int value)
 Makes the NPC hear a sound without a source GameObject.
void Initialize ()
 Initializes the NPC.
void KillAllForces ()
 Clears all forces applied to the NPC entity.
void MadeNavigationDecision ()
 Notifies the NPC that it made a navigation decision.
void ManuallyAppendDestinationPoint (Vector3 position)
 Appends a destination point to the NPC navigator.
void Praise (float time, bool rewardSticker=false)
 Praises the player for a duration and optionally rewards a sticker.
void PraiseAnimation ()
 Plays Baldi's praise animation.
void ResetSlapDistance ()
 Resets the slap distance threshold for Baldi.
void ResetSprite ()
 Resets Baldi's sprite to its default state.
void RestoreRuler ()
 Invokes the underlying RestoreRuler behavior for Baldi.
void ResumeApple ()
 Resumes Baldi's apple-related behavior.
void SentToDetention ()
 Calls the NPC detention handler.
void SetAnger (float value)
 Sets Baldi's anger to the specified value by invoking the underlying method.
void SetBlinded (bool blinded)
 Sets whether the NPC entity is blinded.
void SetFrozen (bool frozen)
 Freezes or unfreezes the NPC entity.
void SetHidden (bool hidden)
 Sets whether the NPC entity is hidden.
void SetRoomAvoidance (bool value)
 Enables or disables room avoidance for NPC pathfinding.
void SetSpeed (float speed)
 Sets the NPC navigator speed.
void SetSprite (Sprite sprite)
 Sets the sprite used by all NPC sprite renderers.
void SetSpriteBaseActive (bool active)
 Shows or hides the NPC sprite root object.
void SetSpriteColor (Color color)
 Sets the color used by all NPC sprite renderers.
void SetVerticalScale (float scale)
 Sets the NPC entity's vertical scale.
void SetVisible (bool visible)
 Sets whether the NPC entity is visible.
void Sighted ()
 Calls the NPC sighted handler.
void SkipCurrentDestinationPoint ()
 Skips the NPC navigator's current destination point.
void Slap ()
 Invokes Baldi's Slap action.
void SlapBreak ()
 Invokes Baldi's slap break action.
void SlapBroken ()
 Invokes Baldi's broken slap action.
void SlapNormal ()
 Invokes Baldi's normal slap action.
void SlapRumble ()
 Invokes Baldi's slap rumble action.
void Squish (float time)
 Squishes the NPC entity for a duration.
void TakeApple ()
 Causes Baldi to take an apple.
void TargetPosition (Vector3 target)
 Sends a target position to the NPC.
void Teleport (Vector3 position)
 Teleports the NPC to a position.
void TeleportToPlayer ()
 Teleports the NPC to the player position.
void TutorialCatch ()
 Invokes Baldi's tutorial catch behavior.
void Unsighted ()
 Calls the NPC unsighted handler.
void Unsquish ()
 Removes the NPC entity's squished state.
void UpdateSlapDistance ()
 Updates the slap distance calculation for Baldi.
void UpdateSoundTarget ()
 Updates Baldi's sound target by invoking the underlying UpdateSoundTarget method.
void WanderRandom ()
 Makes the NPC wander to a random destination.
void WanderRounds ()
 Makes the NPC use its round-wandering behavior.

Properties

float Acceleration [get, set]
 Gets or sets the NPC navigator's acceleration.
float Anger [get, set]
 Gets or sets the current anger level for Baldi.
float AppleTime [get, set]
 Gets or sets the timer related to Baldi's apple interactions.
BBPAudioManager Audio [get]
 Gets the audio manager associated with Baldi.
float BaseAnger [get, set]
 Gets or sets the base anger value for Baldi.
float BaseSpeed [get, set]
 Gets or sets the base movement speed for Baldi.
Collider?[] BaseTriggers [get, set]
 Gets or sets the NPC base trigger colliders.
object? BehaviorStateMachine [get]
 Gets the NPC behavior state machine.
bool Blinded [get]
 Gets whether the NPC is blinded.
string BrokenRule [get]
 Gets the rule currently associated with this NPC.
float CalculatedSpeed [get]
 Gets the NPC's calculated speed from the game object.
string Character [get]
 Gets the NPC character identifier as text.
object? CharacterRaw [get, set]
 Gets or sets the raw character value.
Vector3 CurrentDestination [get]
 Gets the NPC navigator's current destination.
object? CurrentDestinationInteraction [get]
 Gets the current destination interaction object Baldi is targeting.
float Delay [get]
 Gets the current delay value for Baldi.
bool Disobeying [get]
 Gets whether the NPC is currently disobeying.
BBPEntity Entity [get]
 Gets the entity component associated with this NPC.
object? EnvironmentController [get, set]
 Gets or sets the environment controller associated with this NPC.
bool Exists [get]
 Gets whether the wrapped NPC instance exists.
float ExtraAnger [get, set]
 Gets or sets the extra anger applied to Baldi.
float ExtraAngerDrain [get, set]
 Gets or sets the extra anger drain applied to Baldi.
bool HasDestination [get]
 Gets whether the NPC navigator has a destination.
bool HasDetour [get]
 Gets whether the NPC currently has a detour.
bool IgnorePlayerOnSpawn [get, set]
 Gets or sets whether the NPC ignores the player immediately after spawning.
object? Looker [get, set]
 Gets or sets the NPC looker component.
float MaxSpeed [get, set]
 Gets or sets the NPC navigator's maximum speed.
float MovementPortion [get]
 Gets the portion of time Baldi spends moving.
string Name [get, set]
 Gets or sets the NPC GameObject name.
object? NavigationStateMachine [get]
 Gets the NPC navigation state machine.
object? Navigator [get]
 Gets the NPC navigator.
Vector3 NextPoint [get]
 Gets the next point in the NPC navigator's path.
float NextSlapDistance [get, set]
 Gets or sets the next slap distance threshold for Baldi.
float PauseTime [get, set]
 Gets or sets the pause time for Baldi's behavior.
Vector3 Position [get, set]
 Gets or sets the NPC position in world space.
object? Poster [get, set]
 Gets or sets the NPC poster object.
object? PotentialRoomAssets [get, set]
 Gets or sets the NPC potential room assets.
float Radius [get, set]
 Gets or sets the NPC navigator radius.
object? Raw [get]
 Gets the raw underlying NPC instance.
Quaternion Rotation [get, set]
 Gets or sets the NPC rotation in world space.
float SlapDistance [get, set]
 Gets or sets the current slap distance threshold for Baldi.
float SlapSpeedScale [get, set]
 Gets or sets the scale applied to speed when Baldi slaps.
bool SmoothMove [get, set]
 Gets or sets whether Baldi uses smooth movement.
IList? SpawnableRooms [get]
 Gets the rooms this NPC can spawn in.
float Speed [get]
 Gets the current effective speed for Baldi.
float SpeedMultiplier [get, set]
 Gets or sets the multiplier applied to Baldi's base speed.
GameObject? SpriteBase [get, set]
 Gets or sets the root GameObject for the NPC sprites.
SpriteRenderer?[] SpriteRenderers [get, set]
 Gets or sets the NPC sprite renderers.
float TimeScale [get]
 Gets the NPC's current time scale.
float TotalDistance [get, set]
 Gets or sets the total distance Baldi has traveled.
bool TutorialMode [get, set]
 Gets or sets whether Baldi is in tutorial mode.
Vector3 Velocity [get]
 Gets the NPC navigator's current velocity.
bool Wandering [get]
 Gets whether the NPC is currently wandering.

Detailed Description

Wraps the BB+ Baldi NPC and exposes Baldi-specific fields, sounds, detention behavior, and helper methods.

Constructor & Destructor Documentation

◆ BBPBaldi()

BBPGlue.API.BBPBaldi.BBPBaldi ( object? raw)

Initializes a new instance of the BBPBaldi class wrapping a raw object.

Parameters
rawThe raw underlying object instance or null.

Member Function Documentation

◆ AddExtraAnger()

void BBPGlue.API.BBPBaldi.AddExtraAnger ( float value)

Adds extra anger to Baldi by invoking the underlying GetExtraAnger method.

Parameters
valueThe extra anger amount to add.

◆ BreakRuler()

void BBPGlue.API.BBPBaldi.BreakRuler ( )

Invokes the underlying BreakRuler behavior for Baldi.

◆ CaughtPlayer()

void BBPGlue.API.BBPBaldi.CaughtPlayer ( BBPPlayerRef player)

Notifies Baldi that a player has been caught.

Parameters
playerReference to the player that was caught.

◆ ClearDestination()

void BBPGlue.API.BBPNpc.ClearDestination ( )
inherited

Clears the NPC's current destination.

◆ ClearDestinationInteraction()

void BBPGlue.API.BBPBaldi.ClearDestinationInteraction ( )

Clears the current destination interaction for Baldi.

◆ ClearGuilt()

void BBPGlue.API.BBPNpc.ClearGuilt ( )
inherited

Clears the NPC's guilt state.

◆ ClearSoundLocations()

void BBPGlue.API.BBPBaldi.ClearSoundLocations ( )

Clears tracked sound locations for Baldi.

◆ Despawn()

void BBPGlue.API.BBPNpc.Despawn ( )
inherited

Despawns the NPC.

◆ DestinationEmpty()

void BBPGlue.API.BBPNpc.DestinationEmpty ( )
inherited

Notifies the NPC that its destination is empty.

◆ DistanceCheck()

float BBPGlue.API.BBPNpc.DistanceCheck ( float value)
inherited

Calls the NPC distance check.

Parameters
valueThe value to pass to the game method.
Returns
The value returned by the game method.

◆ Distract()

void BBPGlue.API.BBPBaldi.Distract ( )

Causes Baldi to become distracted by invoking the underlying Distract method.

◆ EatSound()

void BBPGlue.API.BBPBaldi.EatSound ( )

Triggers Baldi's eat sound behavior.

◆ EndSlap()

void BBPGlue.API.BBPBaldi.EndSlap ( )

Ends Baldi's slap action by invoking the underlying EndSlap method.

◆ FindPath() [1/2]

void BBPGlue.API.BBPNpc.FindPath ( Vector3 start,
Vector3 target )
inherited

Finds a path from a custom start position to a target position.

Parameters
startThe start position.
targetThe target position.

◆ FindPath() [2/2]

void BBPGlue.API.BBPNpc.FindPath ( Vector3 target)
inherited

Finds a path to the target position.

Parameters
targetThe target position.

◆ FindPathAvoid()

void BBPGlue.API.BBPNpc.FindPathAvoid ( Vector3 target,
Vector3 avoid )
inherited

Finds a path to the target while avoiding a position.

Parameters
targetThe target position.
avoidThe position to avoid.

◆ Flip()

void BBPGlue.API.BBPNpc.Flip ( )
inherited

Flips the NPC entity.

◆ GetAngry()

void BBPGlue.API.BBPBaldi.GetAngry ( float value)

Triggers Baldi to get angry by invoking the underlying GetAngry method.

Parameters
valueThe amount of anger to apply.

◆ Hear() [1/3]

void BBPGlue.API.BBPBaldi.Hear ( GameObject? source,
Vector3 position,
int value,
bool indicator = true )

Informs Baldi of a sound source at a given position.

Parameters
sourceThe GameObject source of the sound (may be null).
positionThe position where the sound originated.
valueAn integer value associated with the sound.
indicatorWhether to show an indicator for the sound.

◆ Hear() [2/3]

void BBPGlue.API.BBPNpc.Hear ( GameObject source,
Vector3 position,
int value )
inherited

Makes the NPC hear a sound.

Parameters
sourceThe sound source GameObject.
positionThe sound position.
valueThe sound value used by the game.

◆ Hear() [3/3]

void BBPGlue.API.BBPNpc.Hear ( Vector3 position,
int value )
inherited

Makes the NPC hear a sound without a source GameObject.

Parameters
positionThe sound position.
valueThe sound value used by the game.

◆ Initialize()

void BBPGlue.API.BBPNpc.Initialize ( )
inherited

Initializes the NPC.

◆ KillAllForces()

void BBPGlue.API.BBPNpc.KillAllForces ( )
inherited

Clears all forces applied to the NPC entity.

◆ MadeNavigationDecision()

void BBPGlue.API.BBPNpc.MadeNavigationDecision ( )
inherited

Notifies the NPC that it made a navigation decision.

◆ ManuallyAppendDestinationPoint()

void BBPGlue.API.BBPNpc.ManuallyAppendDestinationPoint ( Vector3 position)
inherited

Appends a destination point to the NPC navigator.

Parameters
positionThe point to append.

◆ Praise()

void BBPGlue.API.BBPBaldi.Praise ( float time,
bool rewardSticker = false )

Praises the player for a duration and optionally rewards a sticker.

Parameters
timeThe duration of the praise.
rewardStickerIf true, reward a sticker.

◆ PraiseAnimation()

void BBPGlue.API.BBPBaldi.PraiseAnimation ( )

Plays Baldi's praise animation.

◆ ResetSlapDistance()

void BBPGlue.API.BBPBaldi.ResetSlapDistance ( )

Resets the slap distance threshold for Baldi.

◆ ResetSprite()

void BBPGlue.API.BBPBaldi.ResetSprite ( )

Resets Baldi's sprite to its default state.

◆ RestoreRuler()

void BBPGlue.API.BBPBaldi.RestoreRuler ( )

Invokes the underlying RestoreRuler behavior for Baldi.

◆ ResumeApple()

void BBPGlue.API.BBPBaldi.ResumeApple ( )

Resumes Baldi's apple-related behavior.

◆ SentToDetention()

void BBPGlue.API.BBPNpc.SentToDetention ( )
inherited

Calls the NPC detention handler.

◆ SetAnger()

void BBPGlue.API.BBPBaldi.SetAnger ( float value)

Sets Baldi's anger to the specified value by invoking the underlying method.

Parameters
valueThe anger value to set.

◆ SetBlinded()

void BBPGlue.API.BBPNpc.SetBlinded ( bool blinded)
inherited

Sets whether the NPC entity is blinded.

Parameters
blindedTrue to blind the NPC; false to restore sight.

◆ SetFrozen()

void BBPGlue.API.BBPNpc.SetFrozen ( bool frozen)
inherited

Freezes or unfreezes the NPC entity.

Parameters
frozenTrue to freeze the NPC; false to unfreeze it.

◆ SetHidden()

void BBPGlue.API.BBPNpc.SetHidden ( bool hidden)
inherited

Sets whether the NPC entity is hidden.

Parameters
hiddenTrue to hide the NPC; false to show it.

◆ SetRoomAvoidance()

void BBPGlue.API.BBPNpc.SetRoomAvoidance ( bool value)
inherited

Enables or disables room avoidance for NPC pathfinding.

Parameters
valueTrue to avoid rooms; otherwise, false.

◆ SetSpeed()

void BBPGlue.API.BBPNpc.SetSpeed ( float speed)
inherited

Sets the NPC navigator speed.

Parameters
speedThe speed to set.

◆ SetSprite()

void BBPGlue.API.BBPNpc.SetSprite ( Sprite sprite)
inherited

Sets the sprite used by all NPC sprite renderers.

Parameters
spriteThe sprite to use.

◆ SetSpriteBaseActive()

void BBPGlue.API.BBPNpc.SetSpriteBaseActive ( bool active)
inherited

Shows or hides the NPC sprite root object.

Parameters
activeTrue to show the sprite root; false to hide it.

◆ SetSpriteColor()

void BBPGlue.API.BBPNpc.SetSpriteColor ( Color color)
inherited

Sets the color used by all NPC sprite renderers.

Parameters
colorThe color to apply.

◆ SetVerticalScale()

void BBPGlue.API.BBPNpc.SetVerticalScale ( float scale)
inherited

Sets the NPC entity's vertical scale.

Parameters
scaleThe vertical scale value.

◆ SetVisible()

void BBPGlue.API.BBPNpc.SetVisible ( bool visible)
inherited

Sets whether the NPC entity is visible.

Parameters
visibleTrue to make the NPC visible; false to hide it.

◆ Sighted()

void BBPGlue.API.BBPNpc.Sighted ( )
inherited

Calls the NPC sighted handler.

◆ SkipCurrentDestinationPoint()

void BBPGlue.API.BBPNpc.SkipCurrentDestinationPoint ( )
inherited

Skips the NPC navigator's current destination point.

◆ Slap()

void BBPGlue.API.BBPBaldi.Slap ( )

Invokes Baldi's Slap action.

◆ SlapBreak()

void BBPGlue.API.BBPBaldi.SlapBreak ( )

Invokes Baldi's slap break action.

◆ SlapBroken()

void BBPGlue.API.BBPBaldi.SlapBroken ( )

Invokes Baldi's broken slap action.

◆ SlapNormal()

void BBPGlue.API.BBPBaldi.SlapNormal ( )

Invokes Baldi's normal slap action.

◆ SlapRumble()

void BBPGlue.API.BBPBaldi.SlapRumble ( )

Invokes Baldi's slap rumble action.

◆ Squish()

void BBPGlue.API.BBPNpc.Squish ( float time)
inherited

Squishes the NPC entity for a duration.

Parameters
timeThe duration in seconds.

◆ TakeApple()

void BBPGlue.API.BBPBaldi.TakeApple ( )

Causes Baldi to take an apple.

◆ TargetPosition()

void BBPGlue.API.BBPNpc.TargetPosition ( Vector3 target)
inherited

Sends a target position to the NPC.

Parameters
targetThe target position.

◆ Teleport()

void BBPGlue.API.BBPNpc.Teleport ( Vector3 position)
inherited

Teleports the NPC to a position.

Parameters
positionThe target position.

◆ TeleportToPlayer()

void BBPGlue.API.BBPNpc.TeleportToPlayer ( )
inherited

Teleports the NPC to the player position.

◆ TutorialCatch()

void BBPGlue.API.BBPBaldi.TutorialCatch ( )

Invokes Baldi's tutorial catch behavior.

◆ Unsighted()

void BBPGlue.API.BBPNpc.Unsighted ( )
inherited

Calls the NPC unsighted handler.

◆ Unsquish()

void BBPGlue.API.BBPNpc.Unsquish ( )
inherited

Removes the NPC entity's squished state.

◆ UpdateSlapDistance()

void BBPGlue.API.BBPBaldi.UpdateSlapDistance ( )

Updates the slap distance calculation for Baldi.

◆ UpdateSoundTarget()

void BBPGlue.API.BBPBaldi.UpdateSoundTarget ( )

Updates Baldi's sound target by invoking the underlying UpdateSoundTarget method.

◆ WanderRandom()

void BBPGlue.API.BBPNpc.WanderRandom ( )
inherited

Makes the NPC wander to a random destination.

◆ WanderRounds()

void BBPGlue.API.BBPNpc.WanderRounds ( )
inherited

Makes the NPC use its round-wandering behavior.

Property Documentation

◆ Acceleration

float BBPGlue.API.BBPNpc.Acceleration
getsetinherited

Gets or sets the NPC navigator's acceleration.

◆ Anger

float BBPGlue.API.BBPBaldi.Anger
getset

Gets or sets the current anger level for Baldi.

Setting this value invokes the underlying SetAnger method.

Returns
The current anger as a float.

◆ AppleTime

float BBPGlue.API.BBPBaldi.AppleTime
getset

Gets or sets the timer related to Baldi's apple interactions.

Returns
The apple time as a float.

◆ Audio

BBPAudioManager BBPGlue.API.BBPBaldi.Audio
get

Gets the audio manager associated with Baldi.

Returns
A BBPAudioManager instance wrapping the underlying audio manager.

◆ BaseAnger

float BBPGlue.API.BBPBaldi.BaseAnger
getset

Gets or sets the base anger value for Baldi.

Returns
The base anger as a float.

◆ BaseSpeed

float BBPGlue.API.BBPBaldi.BaseSpeed
getset

Gets or sets the base movement speed for Baldi.

Returns
The base speed as a float.

◆ BaseTriggers

Collider? [] BBPGlue.API.BBPNpc.BaseTriggers
getsetinherited

Gets or sets the NPC base trigger colliders.

◆ BehaviorStateMachine

object? BBPGlue.API.BBPNpc.BehaviorStateMachine
getinherited

Gets the NPC behavior state machine.

◆ Blinded

bool BBPGlue.API.BBPNpc.Blinded
getinherited

Gets whether the NPC is blinded.

◆ BrokenRule

string BBPGlue.API.BBPNpc.BrokenRule
getinherited

Gets the rule currently associated with this NPC.

◆ CalculatedSpeed

float BBPGlue.API.BBPNpc.CalculatedSpeed
getinherited

Gets the NPC's calculated speed from the game object.

◆ Character

string BBPGlue.API.BBPNpc.Character
getinherited

Gets the NPC character identifier as text.

◆ CharacterRaw

object? BBPGlue.API.BBPNpc.CharacterRaw
getsetinherited

Gets or sets the raw character value.

◆ CurrentDestination

Vector3 BBPGlue.API.BBPNpc.CurrentDestination
getinherited

Gets the NPC navigator's current destination.

◆ CurrentDestinationInteraction

object? BBPGlue.API.BBPBaldi.CurrentDestinationInteraction
get

Gets the current destination interaction object Baldi is targeting.

Returns
The destination interaction as an object, or null.

◆ Delay

float BBPGlue.API.BBPBaldi.Delay
get

Gets the current delay value for Baldi.

Returns
The delay as a float.

◆ Disobeying

bool BBPGlue.API.BBPNpc.Disobeying
getinherited

Gets whether the NPC is currently disobeying.

◆ Entity

BBPEntity BBPGlue.API.BBPNpc.Entity
getinherited

Gets the entity component associated with this NPC.

◆ EnvironmentController

object? BBPGlue.API.BBPNpc.EnvironmentController
getsetinherited

Gets or sets the environment controller associated with this NPC.

◆ Exists

bool BBPGlue.API.BBPNpc.Exists
getinherited

Gets whether the wrapped NPC instance exists.

◆ ExtraAnger

float BBPGlue.API.BBPBaldi.ExtraAnger
getset

Gets or sets the extra anger applied to Baldi.

Returns
The extra anger as a float.

◆ ExtraAngerDrain

float BBPGlue.API.BBPBaldi.ExtraAngerDrain
getset

Gets or sets the extra anger drain applied to Baldi.

Returns
The extra anger drain as a float.

◆ HasDestination

bool BBPGlue.API.BBPNpc.HasDestination
getinherited

Gets whether the NPC navigator has a destination.

◆ HasDetour

bool BBPGlue.API.BBPNpc.HasDetour
getinherited

Gets whether the NPC currently has a detour.

◆ IgnorePlayerOnSpawn

bool BBPGlue.API.BBPNpc.IgnorePlayerOnSpawn
getsetinherited

Gets or sets whether the NPC ignores the player immediately after spawning.

◆ Looker

object? BBPGlue.API.BBPNpc.Looker
getsetinherited

Gets or sets the NPC looker component.

◆ MaxSpeed

float BBPGlue.API.BBPNpc.MaxSpeed
getsetinherited

Gets or sets the NPC navigator's maximum speed.

◆ MovementPortion

float BBPGlue.API.BBPBaldi.MovementPortion
get

Gets the portion of time Baldi spends moving.

Returns
The movement portion as a float.

◆ Name

string BBPGlue.API.BBPNpc.Name
getsetinherited

Gets or sets the NPC GameObject name.

◆ NavigationStateMachine

object? BBPGlue.API.BBPNpc.NavigationStateMachine
getinherited

Gets the NPC navigation state machine.

◆ Navigator

object? BBPGlue.API.BBPNpc.Navigator
getinherited

Gets the NPC navigator.

◆ NextPoint

Vector3 BBPGlue.API.BBPNpc.NextPoint
getinherited

Gets the next point in the NPC navigator's path.

◆ NextSlapDistance

float BBPGlue.API.BBPBaldi.NextSlapDistance
getset

Gets or sets the next slap distance threshold for Baldi.

Returns
The next slap distance as a float.

◆ PauseTime

float BBPGlue.API.BBPBaldi.PauseTime
getset

Gets or sets the pause time for Baldi's behavior.

Returns
The pause time as a float.

◆ Position

Vector3 BBPGlue.API.BBPNpc.Position
getsetinherited

Gets or sets the NPC position in world space.

◆ Poster

object? BBPGlue.API.BBPNpc.Poster
getsetinherited

Gets or sets the NPC poster object.

◆ PotentialRoomAssets

object? BBPGlue.API.BBPNpc.PotentialRoomAssets
getsetinherited

Gets or sets the NPC potential room assets.

◆ Radius

float BBPGlue.API.BBPNpc.Radius
getsetinherited

Gets or sets the NPC navigator radius.

◆ Raw

object? BBPGlue.API.BBPNpc.Raw
getinherited

Gets the raw underlying NPC instance.

◆ Rotation

Quaternion BBPGlue.API.BBPNpc.Rotation
getsetinherited

Gets or sets the NPC rotation in world space.

◆ SlapDistance

float BBPGlue.API.BBPBaldi.SlapDistance
getset

Gets or sets the current slap distance threshold for Baldi.

Returns
The slap distance as a float.

◆ SlapSpeedScale

float BBPGlue.API.BBPBaldi.SlapSpeedScale
getset

Gets or sets the scale applied to speed when Baldi slaps.

Returns
The slap speed scale as a float.

◆ SmoothMove

bool BBPGlue.API.BBPBaldi.SmoothMove
getset

Gets or sets whether Baldi uses smooth movement.

Returns
True if smooth movement is enabled; otherwise false.

◆ SpawnableRooms

IList? BBPGlue.API.BBPNpc.SpawnableRooms
getinherited

Gets the rooms this NPC can spawn in.

◆ Speed

float BBPGlue.API.BBPBaldi.Speed
get

Gets the current effective speed for Baldi.

Returns
The speed as a float.

◆ SpeedMultiplier

float BBPGlue.API.BBPBaldi.SpeedMultiplier
getset

Gets or sets the multiplier applied to Baldi's base speed.

Returns
The speed multiplier as a float.

◆ SpriteBase

GameObject? BBPGlue.API.BBPNpc.SpriteBase
getsetinherited

Gets or sets the root GameObject for the NPC sprites.

◆ SpriteRenderers

SpriteRenderer? [] BBPGlue.API.BBPNpc.SpriteRenderers
getsetinherited

Gets or sets the NPC sprite renderers.

◆ TimeScale

float BBPGlue.API.BBPNpc.TimeScale
getinherited

Gets the NPC's current time scale.

◆ TotalDistance

float BBPGlue.API.BBPBaldi.TotalDistance
getset

Gets or sets the total distance Baldi has traveled.

Returns
The total distance as a float.

◆ TutorialMode

bool BBPGlue.API.BBPBaldi.TutorialMode
getset

Gets or sets whether Baldi is in tutorial mode.

Returns
True if tutorial mode is active; otherwise false.

◆ Velocity

Vector3 BBPGlue.API.BBPNpc.Velocity
getinherited

Gets the NPC navigator's current velocity.

◆ Wandering

bool BBPGlue.API.BBPNpc.Wandering
getinherited

Gets whether the NPC is currently wandering.


The documentation for this class was generated from the following file: