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

Callbacks for NPCs and generic entities. More...

Events

Action< BBPEntity, bool >? OnEntityFrozenChanged
 Raised when an entity's frozen state changes.
Action< BBPEntity, bool >? OnEntityHiddenChanged
 Raised when an entity's hidden state changes.
Action< BBPEntity >? OnEntitySpawn
 Raised when an entity is spawned.
Action< BBPEntity >? OnEntitySquished
 Raised when an entity becomes squished.
Action< BBPEntity >? OnEntityTeleport
 Raised when an entity is teleported.
Action< BBPEntity >? OnEntityUnsquished
 Raised when an entity is unsquished.
Action< BBPNpc >? OnNpcDespawn
 Raised when an NPC is despawned.
Action< BBPNpc >? OnNpcHearNoise
 Raised when an NPC hears a noise.
Action< BBPNpc >? OnNpcLosePlayer
 Raised when an NPC loses sight of the player.
Action< BBPNpc >? OnNpcNavigationDecision
 Raised when an NPC makes a navigation decision.
Action< BBPNpc >? OnNpcSightPlayer
 Raised when an NPC sees the player.
Action< BBPNpc, int, int >? OnNpcSpawned
 Raised when an NPC is spawned.
Action< BBPNpc, int, int >? OnNpcSpawnRequested
 Raised just before an NPC is spawned.
Action< BBPNpc, Vector3 >? OnNpcTargetPosition
 Raised when an NPC receives a target position.
Action< BBPNpc, object, Collider, bool >? OnNpcTriggerEnter
 Raised when an NPC begins overlapping another entity trigger.
Action< BBPNpc, object, Collider, bool >? OnNpcTriggerExit
 Raised when an NPC stops overlapping another entity trigger.
Action< BBPNpc, object, Collider, bool >? OnNpcTriggerStay
 Raised each frame while an NPC remains overlapping another entity trigger.
Action< BBPNpc >? OnNpcUpdate
 Raised when an NPC updates.

Detailed Description

Callbacks for NPCs and generic entities.

Event Documentation

◆ OnEntityFrozenChanged

Action<BBPEntity, bool>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnEntityFrozenChanged

Raised when an entity's frozen state changes.

◆ OnEntityHiddenChanged

Action<BBPEntity, bool>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnEntityHiddenChanged

Raised when an entity's hidden state changes.

◆ OnEntitySpawn

Action<BBPEntity>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnEntitySpawn

Raised when an entity is spawned.

◆ OnEntitySquished

Action<BBPEntity>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnEntitySquished

Raised when an entity becomes squished.

◆ OnEntityTeleport

Action<BBPEntity>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnEntityTeleport

Raised when an entity is teleported.

◆ OnEntityUnsquished

Action<BBPEntity>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnEntityUnsquished

Raised when an entity is unsquished.

◆ OnNpcDespawn

Action<BBPNpc>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcDespawn

Raised when an NPC is despawned.

◆ OnNpcHearNoise

Action<BBPNpc>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcHearNoise

Raised when an NPC hears a noise.

◆ OnNpcLosePlayer

Action<BBPNpc>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcLosePlayer

Raised when an NPC loses sight of the player.

◆ OnNpcNavigationDecision

Action<BBPNpc>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcNavigationDecision

Raised when an NPC makes a navigation decision.

◆ OnNpcSightPlayer

Action<BBPNpc>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcSightPlayer

Raised when an NPC sees the player.

◆ OnNpcSpawned

Action<BBPNpc, int, int>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcSpawned

Raised when an NPC is spawned.

◆ OnNpcSpawnRequested

Action<BBPNpc, int, int>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcSpawnRequested

Raised just before an NPC is spawned.

◆ OnNpcTargetPosition

Action<BBPNpc, Vector3>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcTargetPosition

Raised when an NPC receives a target position.

◆ OnNpcTriggerEnter

Action<BBPNpc, object, Collider, bool>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcTriggerEnter

Raised when an NPC begins overlapping another entity trigger.

Example: Playtime catches the player and starts jump rope.

◆ OnNpcTriggerExit

Action<BBPNpc, object, Collider, bool>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcTriggerExit

Raised when an NPC stops overlapping another entity trigger.

Example: Playtime keeps the player attached to the jump rope.

◆ OnNpcTriggerStay

Action<BBPNpc, object, Collider, bool>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcTriggerStay

Raised each frame while an NPC remains overlapping another entity trigger.

Example: Playtime finishes and releases the player.

◆ OnNpcUpdate

Action<BBPNpc>? BBPGlue.API.BBPCallbacks.EntityCallbacks.OnNpcUpdate

Raised when an NPC updates.


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