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)
.jpg?alt=media&token=80ac7eb1-5220-48bf-ad4e-03b025bf12cf)
Death Settings
Character Death Event : Select the event that will occur when the player dies.
.jpg?alt=media&token=ede57034-7ddf-4153-8333-c8f3f2eb763f)
Fade In Event : Screen fade-out at death.
.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 :
First Person Health (component) -> Death Settings (foldout) -> Before Fade In Callback (foldout)
And click on the plus sign.
.jpg?alt=media&token=a430c196-c7d5-4361-9d62-0153946ce7bc)
Next, we pass a certain object and select the function we need.
After Fade In Callback : Events that occur after the fade.
To add callback, go to the :
First Person Health (component) -> Death Settings (foldout) -> After Fade In Callback (foldout)
And click on the plus sign.
.jpg?alt=media&token=26af8c74-0619-4f45-a022-ca5f71508146)
Next, we pass a certain object and select the function we need.
Last modified 1yr ago