Triggering the screens
Last updated
Last updated
Activating a blood screen effect from your own scripts is straightforward and highly modular. First, retrieve a reference to the BloodScreensPro_Manager
component in your script:
Once you have the reference, you can trigger the blood screen effect using the following method:
This allows you to integrate BloodScreens Pro seamlessly into your gameplay logic—whether you're responding to damage, environmental hazards, or any custom event.
Tip: Ensure that the
BloodScreensPro_Manager
is present in your scene before calling the method to avoid runtime errors.
BloodScreens Pro includes a built-in Low Health Indication System, allowing you to easily activate or deactivate a low health visual effect with just a single line of code:
This system is perfect for enhancing player feedback when health is critically low, adding a sense of urgency and immersion.
Example Usage
You can refer to the included BSP_ExampleDamageReceiver
script to see how the system works in a practical context:
💡 Tip: You can easily integrate this logic into your existing health or player controller scripts for full control over visual feedback based on gameplay events.