How to specifically call a "ParticleEmitter" in a function by its name and not by its property

Currently I want to enable a function that turns on a ParticleEmitter entity but I don’t want ALL the particles within the “blade” to activate and only the ones named “Boom2” - as seen in the image; how do I specifically call that string?

Using “v:Isa(”“)” doesn’t seem to properly select the particle through the name but instead select ALL particles within the blade.

How do I directly select a single particle or group of particles by name?

Any suggestions would be appreciated! <3

or (v:IsA(“ParticleEmitter”) and v.Name == “Boom2”)

2 Likes

OMG I LOVE YOU!!! thank you friend holy moly you saved me so much time.

2 Likes

But I think I inputted it wrongly, it says the error “unfinished statement”


Probably forgetting something stupidly simple

1 Like

Remove the " marks from my comment and replace them with your own. Its a different symbol.

or (v:IsA("ParticleEmitter") and v.Name == "Boom2")

This might work, otherwise just replace all " marks with your own.

2 Likes

Thank you friend, that worked.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.