Skip to content
mouse114514 edited this page Sep 12, 2026 · 1 revision

When Healed

When Healed

Overview

Triggers when the player is healed (health restored). Good for heal feedback, heal enhancement, or healing statistics.

This is a hat block: it must be placed at the top of a script.

Slots

This block has no parameter slots.

Connections

Connection Type Description
Top - hat block, cannot connect
Bottom Statement connected blocks run when the player is healed

Typical Uses

  • Play a sound or shout when healing
  • Stack extra buffs on top of a heal
  • Count total healing amount

Example

when healed
├── play sound "heal"
├── change healCount by 1
└── talk "Feeling better"

Generated Code

Emits the event marker //EVENT:OnHeal, wired into the plugin's event handling.

Block ID: cu_when_heal


中文 | Event Blocks | Block Reference

Clone this wiki locally