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

Plays a game sound at a specific world coordinate (X, Y) with a configurable volume.
| Slot | Type | Description |
|---|---|---|
| X | Number slot | world X coordinate (float) |
| Y | Number slot | world Y coordinate (float) |
| VOLUME | Number slot | volume (default 1.0) |
| Field | Option | Value |
|---|---|---|
| SOUND | Use item | useItem |
| SOUND | Crunch | eatCrunch |
| SOUND | Eat flesh | eatFlesh |
| SOUND | Drink | drink |
| SOUND | Combine | combine |
| SOUND | Hit | hit |
| Connection | Type | Description |
|---|---|---|
| Top | Statement | connects after a previous statement |
| Bottom | Statement | continues to the next statement |
Emits Sound.Play("<sound>", new Vector3(Xf, Yf, 0f), twoDimensional: false, pitchShift: false, null, <volume>f);.
Block ID: cu_play_sound_at