-
Notifications
You must be signed in to change notification settings - Fork 0
cu_when_laststand en
mouse114514 edited this page Sep 12, 2026
·
1 revision

Triggers once when the player enters the dying state and gets back up (survives a near-death struggle). Good for comeback presentation or forcing survival logic.
This is a hat block: it must be placed at the top of a script.
This block has no parameter slots.
| Connection | Type | Description |
|---|---|---|
| Top | - | hat block, cannot connect |
| Bottom | Statement | connected blocks run when the player stands back up from near-death |
- Play a sound or shout on last stand
- Grant a short-term buff (adrenaline, damage resistance, etc.)
- Count how many times the player survived near-death
when last stand
├── play sound "laststand"
├── talk "Not done yet!"
└── set adrenaline to 100
Emits the event marker //EVENT:OnLastStand, wired into the plugin's event handling.
Block ID: cu_when_laststand