Attempting to add a "Reset Color" sound effect

It would only play the sound that exists so it wouldn’t actually select. To do what you’re wanting you’d need to make sure you have the two sounds.

No, Select() just sets the number file played when the SFX is used, it doesn’t change the sound used. To change the sounds you’d have to edit hybrid_font which is not what was being asked.

Sorry. Yes, I didn’t see that the “normal” use was specified as well, and was referring to what would happen if the normal was left to randomize.

Once SFX.Select() is used that sound will no longer randomize it will only ever play the selected number unless you have another function use Select(X) to set select to a different file or Select(-1) which changes the sound back to random. Select() will not reset until you change presets or change it with a different function.

Cool, just checking. Wanted to make sure I didn’t have to build any extra error handling in case there was only a single ccend file.

I “believe” it’s already handled in effect.h but all instances that I’ve actually used it I have multiple files. I’d say test, if it doesn’t play then we’d just add the handler to the base OS since it “should” be there, but I believe it’s already handled if memory serves.

1 Like

Cool, understood, good to know. Thanks for the clarification.