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

Triggers once when the player enters a new world or loads a save. Good for world-level initialization, welcome messages, or world-specific setup.
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 entering a world |
- Set world-level flags or variables on entry
- Play a welcome presentation
- Initialize using world properties (depth, time, etc.)
when enter world
├── set worldLoaded to 1
├── talk "Welcome to the new world"
└── play sound "enter"
Emits the patch marker //PATCH:Start, injected into the Start() method.
Block ID: cu_when_enter_world