Blood Screen Pro
  • Welcome!
  • Getting Started
    • Getting Started
    • Triggering the screens
  • Basics
    • BSP_Manager
    • BSP_EffectImage
    • Screen Effect Customization
    • BSP Profiles
    • BSP Pooling Manager
  • Adding Custom Effects
Powered by GitBook
On this page
  1. Getting Started

Triggering the screens

Triggering a Blood Screen from Your Scripts

Activating a blood screen effect from your own scripts is straightforward and highly modular. First, retrieve a reference to the BSP_Manager component in your script:

public BSP_Manager bspManager;

Once you have the reference, you can trigger the screen effect using the following methods:

Method
Description

ShowEffect()

Triggers a screen effect with optional flash.

StartEffectCycle()

Begins continuous effect cycles (e.g., low health).

StopEffectCycle()

Ends continuous effect cycles.

ActivateFlash(float alpha)

Manually activates flash overlay.

DeactivateFlash()

Manually deactivates flash overlay.

This allows you to integrate BSP seamlessly into your gameplay logic—whether you're responding to damage, environmental hazards, or any custom event.

💡 Tip: You can easily integrate this logic into your existing game scripts for full control over visual feedback based on gameplay events.

PreviousGetting StartedNextBSP_Manager

Last updated 1 month ago