#sounds in a particle
1 messages · Page 1 of 1 (latest)
I dont think you can sadly, as particles are purely visuals from what i know
You could just triggeer the sound from the same place you trigger a particle
i agree with ademisk
I need to trigger the sound from the particle itself, there's an event option to trigger a sound but I can't get it to work
How are you triggering the particle?
with a command
||please don't tell me to just use playsound, I need it form the particle||
So particles can't play sounds because they're not meant to. Whatever it is you're trying to achieve, it's going to need to be done with the sound triggered alongside the particle (likely by whatever triggered the particle itself)
I'd like to help you figure out what that would look like. Can you provide the context, or the code, for where the particle runs?
I'm playing this impact particle, but in order to play the sound alongside, I'd have to make alot of changes in my function, I'd like to avoid that and there's a sound play function in an event. I remember seeing someone who got the sound to play, but here ut tells me this sound isn't a valid string I can use
{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "mashiene:ray_impact_particle",
"basic_render_parameters": {
"material": "particles_alpha",
"texture": "textures/particle/particles"
}
},
"components": ...
"events": {
"impact": {
"sound_effect": {
"event_name": "random.pop"
}
}
}
}
}
Use BPAC to run both the /playsound and /particle in 1 place at the same time?
I can't run a BPAC from a block
Oh snap, I might've misremembered! So you are correct, there's a way to play sounds from particles, and it's done through Events (https://learn.microsoft.com/en-us/minecraft/creator/reference/content/particlesreference/particlesintroduction#events)
There's a bunch of examples in the vanilla RP I found. Here's one
The dripstone sound is triggered by particle collision. For your needs, you can try to locate an event trigger from one of these components