> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/aurora-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/aurora-engine/components/first-person-health/death-settings.md).

# Death Settings

This parameter is responsible for what happens to the player when they die.

To **set up a player's death** event, go to the:

> **First Person Health** *(component)*  **-> Death Settings** *(foldout)*

![Death Settings](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-MbqIMBbJXJ_Kh_uDqp0%2F-MbqNMv5XmqGgKDrKH-O%2Fimage%20\(13\).jpg?alt=media\&token=80ac7eb1-5220-48bf-ad4e-03b025bf12cf)

**Character Death Event :** Select the **event** that will occur **when the player dies**.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-MbqIMBbJXJ_Kh_uDqp0%2F-MbqNbLmfLLw-BMSOXVo%2Fimage%20\(14\).jpg?alt=media\&token=ede57034-7ddf-4153-8333-c8f3f2eb763f)

**Fade In Event :** Screen fade-out at death.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-MbqIMBbJXJ_Kh_uDqp0%2F-MbqOBgr-_QaChh8xwxS%2Fimage%20\(15\).jpg?alt=media\&token=3a77e2a1-6829-4fa9-b4fa-4e1ce0e0234a)

| Name                | Description                                                               |
| ------------------- | ------------------------------------------------------------------------- |
| Screen Fade Handler | The script that is hung on the image that will be responsible for fading. |
| Fade In Settings    | Fade Settings.                                                            |
| Fade In Duration    | The time it takes for the screen to go dark.                              |
| Fade In Curve       | The schedule for which the attenuation will be performed.                 |
| Fade In Color       | The fade color.                                                           |

**Before Fade In CallBack** : Events that occur before the fade.

To **add callback**, **go to the** :&#x20;

> **First Person Health** *(component)*  **-> Death Settings** *(foldout)* **-> Before Fade In Callback** *(foldout)*

And **click** on the **plus sign**.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-MbqIMBbJXJ_Kh_uDqp0%2F-MbqPsvyeiFfd0dyCoUx%2Fimage%20\(16\).jpg?alt=media\&token=a430c196-c7d5-4361-9d62-0153946ce7bc)

{% hint style="info" %}
**Next**, we pass a certain object and select the function we need.
{% endhint %}

**After Fade In Callback** : Events that occur after the fade.

To **add callback**, **go to the** :&#x20;

> **First Person Health** *(component)*  **-> Death Settings** *(foldout)* **-> After Fade In Callback** *(foldout)*

And **click** on the **plus sign**.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-MbqIMBbJXJ_Kh_uDqp0%2F-MbqQZHqUaExYjwwp5Rz%2Fimage%20\(17\).jpg?alt=media\&token=26af8c74-0619-4f45-a022-ca5f71508146)

{% hint style="info" %}
**Next**, we pass a certain object and select the function we need.
{% endhint %}
